Skip to content

Commit

Permalink
Change .torrent limit to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Sep 20, 2024
1 parent 6fcb59c commit 525d7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -2400,7 +2400,7 @@ def calculate_piece_size(cls, total_size, min_size, max_size, files):
piece_size = our_max_size
break
elif torrent_file_size > 102400:
cli_ui.error('WARNING: .torrent size will exceed 100 KiB!')
cli_ui.warning('WARNING: .torrent size will exceed 100 KiB!')
piece_size *= 2
if piece_size > our_max_size:
piece_size = our_max_size
Expand Down

0 comments on commit 525d7f1

Please sign in to comment.