Description:
The Update class in the file contains a method notifi which uses the github url to fetch Readme.md
The method searches for regular expression match of here:
match = re.search(r'Download the latest release version (\S+)', decoded_line)
The match will always be None as there is no such line in the Readme.md file, it was removed in this commit
Suggestion:
Instead of using the Readme.md file we could directly use the __version.py of the repository, and perform a regex search to fetch the latest version.
Description:
The
Updateclass in the file contains a methodnotifiwhich uses the github url to fetchReadme.mdThe method searches for regular expression match of here:
The match will always be
Noneas there is no such line in theReadme.mdfile, it was removed in this commitSuggestion:
Instead of using the
Readme.mdfile we could directly use the__version.pyof the repository, and perform a regex search to fetch the latest version.