Skip to content

Commit d89611d

Browse files
committed
torrents_info.py: Modified 2 lines
1 parent cff0271 commit d89611d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/playback/torrents_info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,10 +895,10 @@ def gen_row(t):
895895
if 0.0 < file.progress < args.delete_incomplete:
896896
print(f"Deleting incomplete file: {file_path}")
897897
file_utils.trash(args, str(file_path), detach=False)
898-
elif file.progress == 100.0:
898+
elif file.progress == 1.0:
899899
print(f"Keeping complete file: {file_path}")
900900
else:
901-
print(f"Keeping {strings.percent(1 - (file.progress / 100))} incomplete file: {file_path}")
901+
print(f"Keeping {strings.percent(1 - file.progress)} incomplete file: {file_path}")
902902
break # Stop after deleting first valid path
903903

904904
alt_move_syntax = any(

0 commit comments

Comments
 (0)