parent
355bb6c4a5
commit
aa9f978a3a
|
@ -40,6 +40,8 @@ db = MySQLdb.connect(
|
||||||
database=config['mysql']['database'],
|
database=config['mysql']['database'],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
db.autocommit(True)
|
||||||
|
|
||||||
mqtt_client_id = "PiXelTubeMaster-"+wlan_mac_address
|
mqtt_client_id = "PiXelTubeMaster-"+wlan_mac_address
|
||||||
|
|
||||||
# Function to register a tube in the database
|
# Function to register a tube in the database
|
||||||
|
|
Loading…
Reference in New Issue