Add Config.http_cache property
MODIFY
plextraktsync/config/Config.py
plextraktsync/config/Config.py
@@ -62,6 +62,12 @@ def log_console_time(self):
def cache_path(self):
return self["cache"]["path"]
+ @property
+ def http_cache(self):
+ from plextraktsync.config.HttpCacheConfig import HttpCacheConfig
+
+ return HttpCacheConfig(**self["http_cache"])
+
def initialize(self):
"""
Config load order:

Add Config.http_cache property