# HG changeset patch # User Malte Bayer # Date 1387641098 -3600 # Node ID a1eb2dc83819c1e902fcdaaf870efc2e808ca880 # Parent 80be5eb283d306c43c70013c558ed794670429c8 fixed unlimited fuel set bug diff -r 80be5eb283d3 -r a1eb2dc83819 slotUI/slotCli.py --- a/slotUI/slotCli.py Sat Dec 21 16:21:06 2013 +0100 +++ b/slotUI/slotCli.py Sat Dec 21 16:51:38 2013 +0100 @@ -227,7 +227,10 @@ sleep(0.5) self.box.speedlimit(slot, self.slot[slot]["limit"]) sleep(0.5) - self.box.unlimitedfuel(slot, (self.slot[slot]["profile"].getint("Settings", "Fuel") == 0) ) + if self.slot[slot]["profile"].getint("Settings", "Fuel") == 0: + self.box.unlimitedfuel(slot, True) + else: + self.box.unlimitedfuel(slot, False) sleep(0.5) self.cleartop() self.box.setmode(1)