Python-World / Python_and_the_Web

Build Bots, Scrape a website or use an API to solve a problem.
MIT License
680 stars 264 forks source link

Wifi speed excepetion handle and dependency version update #648

Closed ksaswin closed 2 years ago

ksaswin commented 2 years ago

Description

Speedtest-cli site have changed something in the response their API gives out and hence speedtest-cli version 2.1.2 throws a ValueError. Resolved it by updating the version number in the requirements.txt file. Also, updated the README file to include the command to install required dependency. Added a try and except block in wifiSpeed.py to handle the error when device is not connected to the internet.

Type of change

Choosing one or more options from the following as per the nature of your Pull request.

Checklist:

Please tick all the boxes that are fulfilled by your Pull Request.

github-actions[bot] commented 2 years ago

Python World does not accept pull requests on this repository anymore.