diff --git a/Tribler/Core/CreditMining/CreditMiningManager.py b/Tribler/Core/CreditMining/CreditMiningManager.py index 3cc980f32f6..f921eb8d552 100644 --- a/Tribler/Core/CreditMining/CreditMiningManager.py +++ b/Tribler/Core/CreditMining/CreditMiningManager.py @@ -65,7 +65,7 @@ def __init__(self, session, settings=None, policies=None): self.num_checkpoints = len(glob(os.path.join(self.session.get_downloads_pstate_dir(), '*.state'))) def add_sources(_): - for source in self.session.get_credit_mining_sources(): + for source in self.session.config.get_credit_mining_sources(): self.add_source(source) self.session_ready = Deferred()