Convert None and "-" values to empty
This is to cleanup the config api and simplify rest of the code
MODIFY
plex_trakt_sync/config.py
plex_trakt_sync/config.py
@@ -46,7 +46,10 @@ def initialize(self):
load_dotenv()
for key in self.env_keys:
- self[key] = getenv(key)
+ value = getenv(key)
+ if value == "-" or value == "None":
+ value = None
+ self[key] = value
self.initialized = True

Convert None and "-" values to empty

This is to cleanup the config api and simplify rest of the code