mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-06 20:06:44 +03:00
@@ -6,16 +6,6 @@ import logging
|
|||||||
from . import api_helpers
|
from . import api_helpers
|
||||||
|
|
||||||
|
|
||||||
def listToTuple(function):
|
|
||||||
def wrapper(*args):
|
|
||||||
args = [tuple(x) if type(x) == list else x for x in args]
|
|
||||||
result = function(*args)
|
|
||||||
result = tuple(result) if type(result) == list else result
|
|
||||||
return result
|
|
||||||
|
|
||||||
return wrapper
|
|
||||||
|
|
||||||
|
|
||||||
class MyPushListener(pyatv.interface.PushListener):
|
class MyPushListener(pyatv.interface.PushListener):
|
||||||
task = None
|
task = None
|
||||||
apikey = None
|
apikey = None
|
||||||
|
|||||||
Reference in New Issue
Block a user