added code for note widget
This commit is contained in:
BIN
meshifyDrivers/.DS_Store
vendored
BIN
meshifyDrivers/.DS_Store
vendored
Binary file not shown.
@@ -339,8 +339,8 @@ class meshifyMain():
|
||||
clientData = json.load(creds)
|
||||
except:
|
||||
clientData = {"clientId": mac, "username": "admin", "password": "columbus"}
|
||||
with open("mqtt.json", "w+") as creds:
|
||||
json.dump(clientData, creds)
|
||||
#with open("mqtt.json", "w+") as creds:
|
||||
#json.dump(clientData, creds)
|
||||
self.mqtt = paho.Client(client_id=clientData["clientId"], clean_session=True)
|
||||
|
||||
# change to false for mqtt.meshify.com
|
||||
|
||||
Reference in New Issue
Block a user