Update main.py

remove unused code
This commit is contained in:
bertybuttface
2023-03-28 22:13:20 +01:00
committed by GitHub
parent e5a795edab
commit 8edf4859ab

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