fixed undefined error in virtualmeterenergy report API

Merge branch 'develop'
pull/35/head^2
13621160019@163.com 2021-03-19 13:36:19 +08:00
commit 7527549e60
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'],