diff --git a/client/app.py b/client/app.py index 1aaab20..85a2bfe 100644 --- a/client/app.py +++ b/client/app.py @@ -6,7 +6,7 @@ parser = argparse.ArgumentParser() parser.add_argument('port', metavar='P', type=int, help='Desired port.') -parser.add_argument('--cam', metavar='C', type=int, nargs='?', const=0, help='Desired cam.') +parser.add_argument('--cam', metavar='C', type=int, nargs='?', const=0, help='Desired cam.', default=0) args = parser.parse_args() recorder = Recorder(args.cam)