Support static methods for
MODIFY
plex_trakt_sync/decorators/nocache.py
plex_trakt_sync/decorators/nocache.py
def nocache(method):
@wraps(method)
- def inner(self, *args, **kwargs):
+ def inner(*args, **kwargs):
with cache.disabled():
with session.cache_disabled():
- return method(self, *args, **kwargs)
+ return method(*args, **kwargs)
return inner

Support static methods for @nocache