]> git.gir.st - subscriptionfeed.git/commit
fix bug in shorts detection logic
authorgirst <tobi@isticktoit.net>
Wed, 3 May 2023 19:30:28 +0000 (19:30 +0000)
committergirst <tobi@isticktoit.net>
Wed, 3 May 2023 19:30:28 +0000 (19:30 +0000)
commit67ab31003b44a2ad101b2063a71222df0998cb45
treedf2312a13b55d316a4a16e6d5047bb5a62c40d14
parenta4d2d0bedd505c0d5389e81ecb6b694f6d1d3554
fix bug in shorts detection logic

a  (potential) short was marked as False instead of None either of these situations:
- length < 60 and aspect_ratio is None
- length is None and aspect_ratio < 1
app/common/common.py
Imprint / Impressum