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