mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 02:50:12 +01:00
Fix server.py NoneType error
This commit is contained in:
parent
9910e74242
commit
7c5be575c6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user