mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Avoid init.py crash due to options being None
This commit is contained in:
parent
3638edd252
commit
de0986e77d
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ def main():
|
||||||
# Parse command line...
|
# Parse command line...
|
||||||
global options
|
global options
|
||||||
parser = OptionParser()
|
parser = OptionParser()
|
||||||
|
(options, args) = parser.parse_args()
|
||||||
|
|
||||||
# find root install prefix
|
# find root install prefix
|
||||||
tmp = os.path.dirname(sys.argv[0])
|
tmp = os.path.dirname(sys.argv[0])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue