diff options
Diffstat (limited to 'src/lib/Server/Admin')
-rw-r--r-- | src/lib/Server/Admin/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/__init__.py b/src/lib/Server/Admin/__init__.py index 57b9d2a86..0a2cb7bd7 100644 --- a/src/lib/Server/Admin/__init__.py +++ b/src/lib/Server/Admin/__init__.py @@ -24,7 +24,7 @@ class Mode(object): cfp = property(getCFP) def __call__(self, args): - if args[0] == 'help': + if len(args) > 0 and args[0] == 'help': print self.__longhelp__ raise SystemExit(0) |