Move TRAKT_POST_DELAY to config module
This avoids (future) circular dependency loops
MODIFY
plex_trakt_sync/config.py
plex_trakt_sync/config.py
"""
PLEX_PLATFORM = "PlexTraktSync"
+"""
+Constant in seconds for how much to wait between Trakt POST API calls.
+"""
+TRAKT_POST_DELAY = 1.1
class Config(dict):
env_keys = [

MODIFY
plex_trakt_sync/trakt_api.py
plex_trakt_sync/trakt_api.py
from plex_trakt_sync.logging import logger
from plex_trakt_sync.decorators import memoize, nocache, rate_limit
-from plex_trakt_sync.config import CONFIG
-
-TRAKT_POST_DELAY = 1.1
+from plex_trakt_sync.config import CONFIG, TRAKT_POST_DELAY
class ScrobblerProxy:

Move TRAKT_POST_DELAY to config module

This avoids (future) circular dependency loops