Merge pull request #39 from bertybuttface/patch-1

Update main.py
This commit is contained in:
David
2023-04-16 17:17:46 +02:00
committed by GitHub

View File

@@ -6,16 +6,6 @@ import logging
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):
task = None
apikey = None