fix minor bug

This commit is contained in:
bobokun 2023-06-24 15:51:55 -04:00
parent 73838407e6
commit 00ba767ee7
No known key found for this signature in database
GPG key ID: B73932169607D927
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
4.0.2-develop7
4.0.2-develop8

View file

@ -207,7 +207,7 @@ class ShareLimits:
if (
check_max_ratio or check_max_seeding_time or check_limit_upload_speed or share_limits_not_yet_tagged
) and hash_not_prev_checked:
if not is_tag_in_torrent(MIN_SEEDING_TIME_TAG, torrent.tags) or not is_tag_in_torrent(
if not is_tag_in_torrent(MIN_SEEDING_TIME_TAG, torrent.tags) and not is_tag_in_torrent(
MIN_NUM_SEEDS_TAG, torrent.tags
):
logger.print_line(logger.insert_space(f"Torrent Name: {t_name}", 3), self.config.loglevel)