Make cheat system async

This commit is contained in:
2022-05-05 09:18:35 +01:00
parent 2bf05eafa7
commit 1c84277af1
10 changed files with 97 additions and 95 deletions

View File

@@ -26,6 +26,9 @@ class Sinks(util.Base):
self.startup()
self.log.debug("Finished initialising subclasses.")
def all_sinks_authenticated(self): # TODO: fix
self.tx.setup_loops()
def startup(self):
"""
We NEED the other libraries, and we initialise fast, so don't make

View File

@@ -56,6 +56,7 @@ class Nordigen(util.Base):
# self.get_requisitions()
d = self.get_all_account_info()
d.addCallback(self.got_all_account_info)
self.sinks.all_sinks_authenticated()
def got_all_account_info(self, account_infos):
# Filter for added accounts since we only do that for TrueLayer