changed frame check to less equal

This commit is contained in:
Zen 2020-07-20 19:08:43 +03:00
parent 3211c2c88e
commit 2b97917e34

View file

@ -130,7 +130,7 @@ def frame_check(source: Path, encoded: Path, temp, check):
json.dump(d, f) json.dump(d, f)
else: else:
s1, s2 = [frame_probe(i) for i in (source, encoded)] s1, s2 = [frame_probe(i) for i in (source, encoded)]
if s1 == s2: if s1 <= s2:
doneFileLock.acquire() doneFileLock.acquire()
with status_file.open() as f: with status_file.open() as f:
d = json.load(f) d = json.load(f)