Make cheating configurable

This commit is contained in:
Mark Veidemanis 2022-01-11 21:40:55 +00:00
parent 6b75c847b8
commit fb0b5eab5d
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ class Agora(object):
"""
self.lc_dash = LoopingCall(self.loop_check)
self.lc_dash.start(int(settings.Agora.RefreshSec))
if settings.Agora.Cheat == "1":
self.lc_cheat = LoopingCall(self.update_prices)
self.lc_cheat.start(int(settings.Agora.CheatSec))