修改检测方式

This commit is contained in:
gfdgd xi 2024-02-01 18:39:47 +08:00
parent d27c31ae6f
commit 0ec98cffcb

View File

@ -1279,7 +1279,7 @@ class UpdateWindow():
isArch = False
if os.path.exists("/etc/arch-release"):
isArch = True
if UpdateWindow.data["Url-pkg"][0] == None:
if UpdateWindow.data["Url-pkg"][0] == "":
unPackageNew = True
try:
print(UpdateWindow.data["Url"])