Omit load_config from trakt init
No longer needed as of pytrakt 3.4.0
import trakt.movies
import trakt.sync
import trakt.users
-from trakt.core import load_config
from trakt.errors import ForbiddenException, OAuthException
from trakt.movies import Movie
from trakt.sync import Scrobbler
@@ -62,7 +61,6 @@ def __init__(self, batch_size=None):
self.batch = TraktBatch(self, batch_size=batch_size)
trakt.core.CONFIG_PATH = pytrakt_file
trakt.core.session = factory.session()
- load_config()
@staticmethod
def device_auth(client_id: str, client_secret: str):
