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