Skip to content

Commit

Permalink
Add requirement for sgqlc
Browse files Browse the repository at this point in the history
  • Loading branch information
reconman committed Mar 11, 2023
1 parent bd616cd commit 515345b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plexanisync/anilist.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from plexanisync.plexmodule import PlexWatchedSeries
from plexanisync.logger_adapter import PrefixLoggerAdapter

logger = PrefixLoggerAdapter(logging.getLogger("PlexAniSync"), dict(prefix='ANILIST'))
logger = PrefixLoggerAdapter(logging.getLogger("PlexAniSync"), {"prefix": "ANILIST"})
CUSTOM_MAPPINGS: Dict[str, List[AnilistCustomMapping]] = {}
ANILIST_PLEX_EPISODE_COUNT_PRIORITY = False

Expand Down
2 changes: 1 addition & 1 deletion plexanisync/custom_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import ruyaml
from plexanisync.logger_adapter import PrefixLoggerAdapter

logger = PrefixLoggerAdapter(logging.getLogger("PlexAniSync"), dict(prefix='MAPPING'))
logger = PrefixLoggerAdapter(logging.getLogger("PlexAniSync"), {"prefix": "MAPPING"})
MAPPING_FILE = "custom_mappings.yaml"
REMOTE_MAPPING_FILE = "remote_mappings.yaml"

Expand Down
2 changes: 1 addition & 1 deletion plexanisync/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from plexanisync.anilist_schema import anilist_schema as schema
from plexanisync.logger_adapter import PrefixLoggerAdapter

logger = PrefixLoggerAdapter(logging.getLogger("PlexAniSync"), dict(prefix='GRAPHQL'))
logger = PrefixLoggerAdapter(logging.getLogger("PlexAniSync"), {"prefix": "GRAPHQL"})

ANILIST_ACCESS_TOKEN = ""
ANILIST_SKIP_UPDATE = False
Expand Down
2 changes: 1 addition & 1 deletion plexanisync/plexmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from plexanisync.logger_adapter import PrefixLoggerAdapter

logger = PrefixLoggerAdapter(logging.getLogger("PlexAniSync"), dict(prefix='PLEX'))
logger = PrefixLoggerAdapter(logging.getLogger("PlexAniSync"), {"prefix": "PLEX"})

plex_settings = {}

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ pyreadline3==3.4.1
pyrsistent==0.19.3
requests==2.28.2
ruyaml==0.91.0
sgqlc==16.1
urllib3==1.26.14

0 comments on commit 515345b

Please sign in to comment.