mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-06 03:46:44 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
Matthew Stern
parent
7b3e618628
commit
c360e2582e
@@ -194,10 +194,7 @@ class ApiHelper:
|
||||
segment_dict["UUID"].extend(segment_before_UUID)
|
||||
segments.pop()
|
||||
# Only add segments greater than minimum skip length
|
||||
if (
|
||||
segment_dict["end"] - segment_dict["start"]
|
||||
> minimum_skip_length
|
||||
):
|
||||
if segment_dict["end"] - segment_dict["start"] > minimum_skip_length:
|
||||
segments.append(segment_dict)
|
||||
except BaseException:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user