Add factory for cleanup class
MODIFY
plextraktsync/factory.py
plextraktsync/factory.py
@@ -210,6 +210,12 @@ def console_logger(self):
return handler
+ @cached_property
+ def cleanup(self):
+ from plextraktsync.util.Cleanup import Cleanup
+
+ return Cleanup()
+
@cached_property
def config(self):
from plextraktsync.config import Config

Add factory for cleanup class