Fixed bug in get_device
This commit is contained in:
parent
7317e5e67e
commit
76e97ad299
@ -16660,6 +16660,8 @@ class WellApi:
|
||||
device_id = form_data.get('device_id')
|
||||
device_mac = form_data.get('mac')
|
||||
min_well_id = form_data.get('min_well_id')
|
||||
if min_well_id != None:
|
||||
min_well_id = int(min_well_id)
|
||||
|
||||
if device_mac != None:
|
||||
device_det = GetDeviceDetailsSingleFromMac(device_mac)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user