Skip to content

Commit 652ab3f

Browse files
author
A S Lewis
committed
Fix #580 again
1 parent ec0dd6a commit 652ab3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tartube/mainapp.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15319,8 +15319,11 @@ def move_videos_continue(self, media_list):
1531915319
try:
1532015320
fh = open(archive_path, 'a')
1532115321

15322+
if os.path.getsize(archive_path) == 0 and id_list:
15323+
fh.write('youtube ' + id_list.pop(0))
15324+
1532215325
for id in id_list:
15323-
fh.write('youtube ' + id)
15326+
fh.write('\nyoutube ' + id)
1532415327

1532515328
fh.close()
1532615329

0 commit comments

Comments
 (0)