Schedule running cheat

This commit is contained in:
Mark Veidemanis 2022-01-11 21:40:05 +00:00
parent 1895319e17
commit 6b75c847b8
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.start(int(settings.Agora.RefreshSec))
self.lc_cheat = LoopingCall(self.update_prices)
self.lc_cheat.start(int(settings.Agora.CheatSec))
def wrap_dashboard(self):
try:
dash = self.agora.dashboard_seller()