diff --git a/pandora/websocket/management/commands/websocketd.py b/pandora/websocket/management/commands/websocketd.py index d56fa3ef2..45ab6bea1 100644 --- a/pandora/websocket/management/commands/websocketd.py +++ b/pandora/websocket/management/commands/websocketd.py @@ -17,13 +17,14 @@ class Command(BaseCommand): """ help = 'run websocket daemon' args = '' + def add_arguments(self, parser): parser.add_argument('--debug', - action='store_true', - dest='debug', - default=False, - help='enable debug'), - parser.add_argument("--pidfile", dest="pidfile",metavar="PIDFILE"), + action='store_true', + dest='debug', + default=False, + help='enable debug'), + parser.add_argument("--pidfile", dest="pidfile", metavar="PIDFILE"), def handle(self, **options): socket = daemon.Daemon(settings.WEBSOCKET_PORT, settings.WEBSOCKET_ADDRESS)