Skip to content

Commit

Permalink
ValueError: invalid literal for int() with base 10: ''
Browse files Browse the repository at this point in the history
  • Loading branch information
21e06 committed Apr 8, 2021
1 parent c58ad33 commit 6e9a667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speedtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ def get_config(self):
client = get_attributes_by_tag_name(root, 'client')

ignore_servers = list(
map(int, server_config['ignoreids'].split(','))
map(int, (server_config['ignoreids'].split(',') if len(server_config['ignoreids']) else []) )
)

ratio = int(upload['ratio'])
Expand Down

0 comments on commit 6e9a667

Please sign in to comment.