mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 10:40:51 +00:00
quick fix
This commit is contained in:
parent
ebcb01f698
commit
420788b9ec
1 changed files with 2 additions and 2 deletions
4
av1an.py
4
av1an.py
|
@ -324,7 +324,7 @@ class Av1an:
|
|||
if done_file.exists():
|
||||
with open(done_file, 'r') as f:
|
||||
data = [line for line in f]
|
||||
data = literal_eval(data[1])
|
||||
data = literal_eval(data[-1])
|
||||
queue = [x for x in queue if x.name not in data]
|
||||
|
||||
queue = sorted(queue, key=lambda x: -x.stat().st_size)
|
||||
|
@ -605,7 +605,7 @@ class Av1an:
|
|||
if done_path.exists():
|
||||
with open(done_path, 'r') as f:
|
||||
data = [line for line in f]
|
||||
done = literal_eval(data[1])
|
||||
done = literal_eval(data[-1])
|
||||
|
||||
self.log(f'Resumed with {len(done)} encoded clips done\n\n')
|
||||
|
||||
|
|
Loading…
Reference in a new issue