Make cheating configurable
This commit is contained in:
parent
6b75c847b8
commit
fb0b5eab5d
|
@ -46,9 +46,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))
|
||||
if settings.Agora.Cheat == "1":
|
||||
self.lc_cheat = LoopingCall(self.update_prices)
|
||||
self.lc_cheat.start(int(settings.Agora.CheatSec))
|
||||
|
||||
def wrap_dashboard(self):
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue