From 023168851a5f5487a1ee7ac35d23bb0aa5869298 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 11 Jan 2022 21:40:05 +0000 Subject: [PATCH] Schedule running cheat --- handler/agora.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/handler/agora.py b/handler/agora.py index 32ca95a..8c16453 100644 --- a/handler/agora.py +++ b/handler/agora.py @@ -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()