mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-15 16:36:45 +03:00
Ruff formatting
This commit is contained in:
@@ -33,9 +33,7 @@ class AsyncConditionalTTL:
|
||||
def __init__(self, time_to_live, maxsize):
|
||||
super().__init__(maxsize=maxsize)
|
||||
|
||||
self.time_to_live = (
|
||||
datetime.timedelta(seconds=time_to_live) if time_to_live else None
|
||||
)
|
||||
self.time_to_live = datetime.timedelta(seconds=time_to_live) if time_to_live else None
|
||||
|
||||
self.maxsize = maxsize
|
||||
|
||||
|
||||
Reference in New Issue
Block a user