Refactor factory.progressbar to take enabled enabled state from run config
MODIFY
plextraktsync/factory.py
plextraktsync/factory.py
@@ -78,7 +78,9 @@ def sync(self):
return Sync(config, plex, trakt)
@memoize
- def progressbar(self, enabled=True):
+ def progressbar(self, **kwargs):
+ enabled = self.run_config.progressbar
+
if enabled:
import warnings
from functools import partial

Refactor factory.progressbar to take enabled enabled state from run config