diff --git a/artiq/devices/novatech409b/driver.py b/artiq/devices/novatech409b/driver.py index 5db76a665..945b959a3 100644 --- a/artiq/devices/novatech409b/driver.py +++ b/artiq/devices/novatech409b/driver.py @@ -1,5 +1,3 @@ -#!/usr/bin/python3 - # Written by Joe Britton, 2015 import time diff --git a/artiq/frontend/novatech409b_controller.py b/artiq/frontend/novatech409b_controller.py index 86b0e5f84..30dcd75f7 100755 --- a/artiq/frontend/novatech409b_controller.py +++ b/artiq/frontend/novatech409b_controller.py @@ -1,9 +1,8 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Written by Joe Britton, 2015 import argparse -import importlib import logging from artiq.devices.novatech409b.driver import Novatech409B @@ -16,8 +15,7 @@ logger = logging.getLogger(__name__) def get_argparser(): parser = argparse.ArgumentParser( - description="ARTIQ controller for the Novatech" - " 409B 4-channel DDS box") + description="ARTIQ controller for the Novatech 409B 4-channel DDS box") simple_network_args(parser, 3254) parser.add_argument( "-d", "--device", default=None, @@ -25,6 +23,7 @@ def get_argparser(): verbosity_args(parser) return parser + def main(): args = get_argparser().parse_args() init_logger(args)