Sfoglia il codice sorgente

## v0.3 - 2023-10-20
* add missing definition of print_errors variable

FloKra 1 anno fa
parent
commit
200ce2e4fe
2 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 2 0
      CHANGELOG.md
  2. 2 0
      modbuslog.py

+ 2 - 0
CHANGELOG.md

@@ -1,5 +1,7 @@
 ## Change Log
 
+## v0.3 - 2023-10-20
+* add missing definition of print_errors variable
 
 ## v0.2 - 2020-10-01
 * rename to ModbusLogMQTT

+ 2 - 0
modbuslog.py

@@ -13,6 +13,8 @@ import logging
 import json
 import paho.mqtt.client as mqtt
 
+print_errors = True
+
 # Change working dir to the same dir as this script
 os.chdir(sys.path[0])