mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-10 14:09:43 +08:00
fix: local version update bug.
This commit is contained in:
@@ -6,6 +6,8 @@ from module.conf import VERSION, VERSION_PATH
|
||||
def version_check() -> bool:
|
||||
if VERSION == "DEV_VERSION":
|
||||
return True
|
||||
if VERSION == "local":
|
||||
return True
|
||||
if not VERSION_PATH.exists():
|
||||
with open(VERSION_PATH, "w") as f:
|
||||
f.write(VERSION + "\n")
|
||||
|
||||
Reference in New Issue
Block a user