From bebaadf85082f6542a6604b9bb664ad62492c75e Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Wed, 23 Jan 2013 21:24:02 +0100 Subject: [PATCH] Actually do the right check for further args --- openslides/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/main.py b/openslides/main.py index aab5ac203..29586bfd7 100644 --- a/openslides/main.py +++ b/openslides/main.py @@ -108,7 +108,7 @@ def process_options(argv=None, check_args=True): # Don't check for further args if we come from our custom management # command, that always sets them - if args and not check_args: + if args and check_args: sys.stderr.write("This command does not take arguments!\n\n") parser.print_help()