From 81fa55540256bb31d1542e8e452afe9c5d01bb93 Mon Sep 17 00:00:00 2001 From: tim Date: Sun, 28 Apr 2024 13:53:18 +0200 Subject: [PATCH] Fix invalid call --- bmspy/bms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bmspy/bms.py b/bmspy/bms.py index ef2149c..27ad150 100755 --- a/bmspy/bms.py +++ b/bmspy/bms.py @@ -171,7 +171,7 @@ def requestMessage(reqmsg): cleanup() return response except Exception as e: - print("error communicating...: {0}".function(str(e))) + print("error communicating...: {0}".format(str(e))) else: print("cannot open serial port")