fixed undefined error in virtualmeterenergy report API

pull/22/MERGE
13621160019@163.com 2021-03-19 13:35:56 +08:00
parent a5789343e8
commit 30a026c347
1 changed files with 0 additions and 5 deletions

View File

@ -281,11 +281,6 @@ class Reporting:
if cnx_energy:
cnx_energy.disconnect()
if cursor_historical:
cursor_historical.close()
if cnx_historical:
cnx_historical.disconnect()
result = {
"virtual_meter": {
"cost_center_id": virtual_meter['cost_center_id'],