Convert None and "-" values to empty
This is to cleanup the config api and simplify rest of the code
@@ -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
