mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2026-05-04 14:59:51 +02:00
bitwarden
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ def writeLog(msg, svr="INFO"):
|
||||
ts = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
|
||||
if curos == "Windows":
|
||||
log_path = "c:\Program Files\jaydee\jaydee.log"
|
||||
log_path = "c:\\Program Files\\jaydee\\jaydee.log"
|
||||
else:
|
||||
log_path = "/tmp/mqtt_srv.log"
|
||||
f = open(log_path, "a")
|
||||
|
||||
Reference in New Issue
Block a user