Schedule running cheat

This commit is contained in:
Mark Veidemanis 2022-01-11 21:40:05 +00:00
parent 057448c831
commit 023168851a
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ class Agora(object):
self.lc_dash = LoopingCall(self.loop_check) self.lc_dash = LoopingCall(self.loop_check)
self.lc_dash.start(int(settings.Agora.RefreshSec)) self.lc_dash.start(int(settings.Agora.RefreshSec))
self.lc_cheat = LoopingCall(self.update_prices)
self.lc_cheat.start(int(settings.Agora.CheatSec))
def wrap_dashboard(self): def wrap_dashboard(self):
try: try:
dash = self.agora.dashboard_seller() dash = self.agora.dashboard_seller()