Convert empty value to None
MODIFY
plex_trakt_sync/config.py
plex_trakt_sync/config.py
@@ -49,7 +49,7 @@ def initialize(self):
load_dotenv(self.env_file)
for key in self.env_keys:
value = getenv(key)
- if value == "-" or value == "None":
+ if value == "-" or value == "None" or value == "":
value = None
self[key] = value

Convert empty value to None