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:
11
mqtt_srv.py
11
mqtt_srv.py
@@ -18,11 +18,12 @@ import getopt
|
|||||||
import random
|
import random
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
try:
|
||||||
with open("/etc/mqtt_srv/mqtt_srv.cfg") as json_file:
|
with open("/etc/mqtt_srv/mqtt_srv.cfg") as json_file:
|
||||||
config = json.load(json_file)
|
config = json.load(json_file)
|
||||||
print(config)
|
print(config)
|
||||||
|
except:
|
||||||
|
config = {}
|
||||||
|
|
||||||
#import psutil
|
#import psutil
|
||||||
stats = {}
|
stats = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user