Skip to content

Commit

Permalink
Fix #580 again
Browse files Browse the repository at this point in the history
A S Lewis committed Dec 11, 2023
1 parent ec0dd6a commit 652ab3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tartube/mainapp.py
Original file line number Diff line number Diff line change
@@ -15319,8 +15319,11 @@ def move_videos_continue(self, media_list):
try:
fh = open(archive_path, 'a')

if os.path.getsize(archive_path) == 0 and id_list:
fh.write('youtube ' + id_list.pop(0))

for id in id_list:
fh.write('youtube ' + id)
fh.write('\nyoutube ' + id)

fh.close()

0 comments on commit 652ab3f

Please sign in to comment.