Update cli.py

master
Arjix 2021-08-07 00:00:44 +03:00 committed by GitHub
parent c591a47b40
commit fd683a4a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def check_for_update():
import re
version_file = "https://raw.githubusercontent.com/anime-dl/anime-downloader/master/anime_downloader/__version__.py"
regex = r"__version__\s+=\s+[\"'](\d+\.\d+\.\d+)[\"']"
regex = r"__version__\s*=\s*[\"'](\d+\.\d+\.\d+)[\"']"
r = requests.get(version_file)
if not r.ok: