fix: Use correct variable name

This commit is contained in:
Sayantan Santra 2024-01-14 09:15:07 -06:00
parent 1804932e50
commit 1973a08642
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -71,7 +71,7 @@ def apkpure_dl(apk, appname, version, hard_version, session, present_vers, flag)
f"a[data-dt-version=\"{version}\"][data-dt-apkid^=\"b/APK/\"]")[0]['data-dt-versioncode']
except:
err_exit(
f" There was some error while downloading {apk}...", appstate)
f" There was some error while downloading {apk}...", appname)
res = session.get(
f"https://d.apkpure.net/b/APK/{apk}?versionCode={ver_code}", stream=True)