Merge pull request #37 from petterreinholdtsen/handle-no-argument

Add missing return statement to parse_arguments().
This commit is contained in:
Nick Daly 2013-10-07 14:51:31 -07:00
commit 510dc822a9

View File

@ -97,6 +97,7 @@ def parse_arguments():
cfg.pidfile = "plinth.pid" cfg.pidfile = "plinth.pid"
except AttributeError: except AttributeError:
cfg.pidfile = "plinth.pid" cfg.pidfile = "plinth.pid"
return args
def setup(): def setup():
args = parse_arguments() args = parse_arguments()