Skip to content

Commit

Permalink
Merge pull request jxxghp#1423 from EkkoG/fixed_size_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp authored Jan 29, 2024
2 parents 62628e5 + 4d1c8c3 commit c0eb6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/chain/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def __filter_torrent(t: TorrentInfo) -> bool:
size = movie_size
# 大小范围
begin_size, end_size = __get_size_range(size)
if begin_size and end_size:
if begin_size is not None and end_size is not None:
meta = MetaInfo(title=t.title, subtitle=t.description)
# 集数
if mediainfo.type == MediaType.TV:
Expand Down

0 comments on commit c0eb6b0

Please sign in to comment.