Skip to content

Commit

Permalink
Fix for initializing CreditMiningManager
Browse files Browse the repository at this point in the history
  • Loading branch information
egbertbouman committed Jan 31, 2018
1 parent 1d8579d commit f5dc2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tribler/Core/CreditMining/CreditMiningManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f5dc2d3

Please sign in to comment.