From 0db1f0ce8109e93c735a1ed47fd2b30cf1c22f02 Mon Sep 17 00:00:00 2001 From: jeromejguay Date: Thu, 1 Jun 2023 13:19:12 -0400 Subject: [PATCH] fixing print weight unit bug ( only printed kg) --- dcs5/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs5/controller.py b/dcs5/controller.py index fcd7307..6d2c9c7 100644 --- a/dcs5/controller.py +++ b/dcs5/controller.py @@ -708,7 +708,7 @@ def stop_marel_listening(self): def marel_get_weight(self): if self.marel is not None: - weight = self.marel.get_weight() + weight = self.marel.get_weight(self.marel.units) if self.marel.weight is not None: self.to_keyboard(weight) if self.auto_enter is True: