Skip to content

Commit

Permalink
Check sync config section of active server in sync
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Sep 1, 2023
1 parent a8f66a6 commit d74e4a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plextraktsync/config/SyncConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def __contains__(self, key):
return key in self.config

def get(self, section, key):
if section in self.server_config and key in self.server_config[section]:
return self.server_config[section][key]

return self[key] if key in self else self[section][key]

@cached_property
Expand Down

0 comments on commit d74e4a5

Please sign in to comment.