Finish implementation and tests for the cheat system #3

Closed
m wants to merge 67 commits from cheat-refactor into master
1 changed files with 3 additions and 3 deletions
Showing only changes of commit fb0b5eab5d - Show all commits

View File

@ -46,9 +46,9 @@ 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))
def wrap_dashboard(self): def wrap_dashboard(self):
try: try: