mirror of
https://github.com/Escartem/AnimeWwise.git
synced 2026-06-06 16:30:26 +08:00
fix update search
This commit is contained in:
2
app.py
2
app.py
@@ -98,7 +98,7 @@ class AnimeWwise(QMainWindow):
|
||||
latestVersionReq = get("https://raw.githubusercontent.com/Escartem/AnimeWwise/master/version.json")
|
||||
|
||||
if latestVersionReq.status_code == 200:
|
||||
latestVersion = json.loads(latestMaps.text)
|
||||
latestVersion = json.loads(latestVersionReq.text)
|
||||
|
||||
if currentVersion["version"] < latestVersion["version"]:
|
||||
print("Update found !")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"version": 21,
|
||||
"version": 211,
|
||||
"mapsVersion": 89
|
||||
}
|
||||
Reference in New Issue
Block a user