trisquel updated

This commit is contained in:
Tom 2021-10-17 18:23:30 -07:00
parent ce3e8f907a
commit fbf080de1b
1 changed files with 5 additions and 2 deletions

View File

@ -39,15 +39,18 @@ class trisquel(Project):
if href not in hrefs2:
return False
elif cls.checker(site1+href, "Release") > cls.checker(site2+href, "Release"):
# print(cls.checker(site1+href, "Release"))
# print(cls.checker(site2+href, "Release"))
# print(cls.checker(site1+href, "Release") > cls.checker(site2+href, "Release"))
return False
return True
def check_iso(cls, site, mirrors):
for mirror in mirrors:
# print(cls.checker(site, "md5sum.txt"))
# print(cls.checker(mirror, "md5sum.txt"))
if cls.checker(site, "md5sum.txt") < cls.checker(mirror, "md5sum.txt"):
print(cls.checker(site, "md5sum.txt"))
print(cls.checker(mirror, "md5sum.txt"))
return False
return True