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