From 00ba767ee7dbf61a1726deb8c8ea7a497bcdf9b9 Mon Sep 17 00:00:00 2001 From: bobokun Date: Sat, 24 Jun 2023 15:51:55 -0400 Subject: [PATCH] fix minor bug --- VERSION | 2 +- modules/core/share_limits.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 2a33332..9f6d10d 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.2-develop7 +4.0.2-develop8 diff --git a/modules/core/share_limits.py b/modules/core/share_limits.py index 525fb59..2fd5076 100644 --- a/modules/core/share_limits.py +++ b/modules/core/share_limits.py @@ -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)