1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Fixed issue with missing consistency check files

This commit is contained in:
Krateng 2019-08-17 18:21:36 +02:00
parent 7c80256c7d
commit 725d2308b1

View File

@ -99,14 +99,11 @@ def consistentRulestate(folder,checksums):
if (scrobblefile.endswith(".tsv")): if (scrobblefile.endswith(".tsv")):
try: try:
f = open(folder + "/" + scrobblefile + ".rulestate","r") with open(folder + "/" + scrobblefile + ".rulestate","r") as f:
if f.read() != checksums: if f.read() != checksums:
return False return False
except: except:
return False return False
finally:
f.close()
return True return True