Skip to content

Commit

Permalink
Properly validate remote mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
reconman committed Mar 22, 2024
1 parent 4ea30a2 commit 9d987a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plexanisync/custom_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def read_custom_mappings() -> Dict[str, List[AnilistCustomMapping]]:
yaml_content = value[1]
file_mappings_remote = yaml.load(yaml_content)
try:
validate(file_mappings_local, schema)
validate(file_mappings_remote, schema)
except ValidationError as e:
logger.error(f'Custom Mappings {mapping_location} validation failed!')
__handle_yaml_error(file_mappings_remote, e)
Expand Down

0 comments on commit 9d987a3

Please sign in to comment.