Skip to content

Commit

Permalink
s/if args.mini/elif args.mini/ Fixes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
sivel committed Jul 28, 2013
1 parent f42e98f commit c22a41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speedtest-cli
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def speedtest():
except IndexError:
print_('Invalid server ID')
sys.exit(1)
if args.mini:
elif args.mini:
name, ext = os.path.splitext(args.mini)
if ext:
url = os.path.dirname(args.mini)
Expand Down

1 comment on commit c22a41c

@andrewmolyneux
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, so the --mini and --server options are mutually exclusive. Thanks!

Please sign in to comment.