added 'qrcode' parameter to meter
parent
6af787af27
commit
53f76d14bf
|
@ -348,21 +348,6 @@ class MeterItem:
|
||||||
" WHERE id = %s ")
|
" WHERE id = %s ")
|
||||||
cursor.execute(query, (id_,))
|
cursor.execute(query, (id_,))
|
||||||
row = cursor.fetchone()
|
row = cursor.fetchone()
|
||||||
|
|
||||||
query = (" SELECT id, name, uuid "
|
|
||||||
" FROM tbl_energy_categories ")
|
|
||||||
cursor.execute(query)
|
|
||||||
rows_energy_categories = cursor.fetchall()
|
|
||||||
|
|
||||||
query = (" SELECT id, name, uuid "
|
|
||||||
" FROM tbl_energy_categories ")
|
|
||||||
cursor.execute(query)
|
|
||||||
rows_energy_categories = cursor.fetchall()
|
|
||||||
|
|
||||||
query = (" SELECT id, name, uuid "
|
|
||||||
" FROM tbl_energy_categories ")
|
|
||||||
cursor.execute(query)
|
|
||||||
rows_energy_categories = cursor.fetchall()
|
|
||||||
cursor.close()
|
cursor.close()
|
||||||
cnx.disconnect()
|
cnx.disconnect()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue