testing – speedtest-cli: ValueError: invalid literal for int() with base 10: ” – Unix & Linux Stack Exchange

## Backup original code
sudo gzip -k9 /usr/lib/python3/dist-packages/speedtest.py

## Make the line substitution
sed -i "s/^            map(int, server_config\['ignoreids'\].split(','))$/            map(int, (server_config['ignoreids'].split(',') if len(server_config['ignoreids']) else []) )/" /usr/lib/python3/dist-packages/speedtest.py

 

Source: testing – speedtest-cli: ValueError: invalid literal for int() with base 10: ” – Unix & Linux Stack Exchange

testing – speedtest-cli: ValueError: invalid literal for int() with base 10: ” – Unix & Linux Stack Exchange was last modified: October 1st, 2021 by Jovan Stosic

Leave a Reply