From 8edf4859ab6a60153ef55b60a77e11f926fb27c2 Mon Sep 17 00:00:00 2001 From: bertybuttface <110790513+bertybuttface@users.noreply.github.com> Date: Tue, 28 Mar 2023 22:13:20 +0100 Subject: [PATCH] Update main.py remove unused code --- iSponsorBlockTV/main.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/iSponsorBlockTV/main.py b/iSponsorBlockTV/main.py index 1fceb88..2e63280 100644 --- a/iSponsorBlockTV/main.py +++ b/iSponsorBlockTV/main.py @@ -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