fixed undefined error in virtualmeterenergy report API
parent
a5789343e8
commit
30a026c347
|
@ -281,11 +281,6 @@ class Reporting:
|
||||||
if cnx_energy:
|
if cnx_energy:
|
||||||
cnx_energy.disconnect()
|
cnx_energy.disconnect()
|
||||||
|
|
||||||
if cursor_historical:
|
|
||||||
cursor_historical.close()
|
|
||||||
if cnx_historical:
|
|
||||||
cnx_historical.disconnect()
|
|
||||||
|
|
||||||
result = {
|
result = {
|
||||||
"virtual_meter": {
|
"virtual_meter": {
|
||||||
"cost_center_id": virtual_meter['cost_center_id'],
|
"cost_center_id": virtual_meter['cost_center_id'],
|
||||||
|
|
Loading…
Reference in New Issue