mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Fix server.py NoneType error
This commit is contained in:
parent
9910e74242
commit
7c5be575c6
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue