1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Fix server.py NoneType error

This commit is contained in:
Daniel Martí 2013-11-04 15:16:09 +01:00
parent 9910e74242
commit 7c5be575c6

View File

@ -30,14 +30,14 @@ def main():
global config, options
config = common.read_config(options)
# Parse command line...
parser = OptionParser()
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal")
(options, args) = parser.parse_args()
config = common.read_config(options)
if len(args) != 1:
print "Specify a single command"
sys.exit(1)