diff --git a/forza.py b/forza.py index ebfd79a..3cc4ab1 100644 --- a/forza.py +++ b/forza.py @@ -82,9 +82,8 @@ def test_gear(self, update_car_gui_func=None): if fdp is None: continue - self.__update_forza_info(fdp) - if fdp.speed > 0.1: + self.__update_forza_info(fdp) if update_car_gui_func is not None: update_car_gui_func(fdp) info = { diff --git a/gui.py b/gui.py index 8876fba..fd48606 100644 --- a/gui.py +++ b/gui.py @@ -219,12 +219,6 @@ def reset_car_info(self): self.treeview.item(self.speed_tree[key], values="-") self.treeview.item(self.rpm_tree[key], values="-") - # reset car information - self.car_id_var.set("None") - self.car_perf_var.set(0) - self.car_class_var.set(-1) - self.car_drivetrain_var.set('') - # reset accel and brake self.acceleration_var.set("0%") self.brake_var.set("0%")