s/if args.mini/elif args.mini/ Fixes #24
This commit is contained in:
parent
f42e98f29f
commit
c22a41ccaf
|
@ -408,7 +408,7 @@ def speedtest():
|
||||||
except IndexError:
|
except IndexError:
|
||||||
print_('Invalid server ID')
|
print_('Invalid server ID')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
if args.mini:
|
elif args.mini:
|
||||||
name, ext = os.path.splitext(args.mini)
|
name, ext = os.path.splitext(args.mini)
|
||||||
if ext:
|
if ext:
|
||||||
url = os.path.dirname(args.mini)
|
url = os.path.dirname(args.mini)
|
||||||
|
|
Loading…
Reference in New Issue