Reorder keys that were being declared in the wrong place

This commit is contained in:
Joseph Hall 2017-03-06 13:13:06 -07:00
parent d0440e2a2a
commit 507a4f7f93

View File

@ -32,7 +32,7 @@ def reg(name):
for key in event['data']['data']:
if key in ('id', 'recv_time'):
continue
idata[key] = event['data'][key]
__reg__['status']['val'][event['data']['data']['id']] = idata
ret['changes'][event['data']['data']['id']] = True
idata[key] = event['data']['data'][key]
__reg__['status']['val'][event['data']['id']] = idata
ret['changes'][event['data']['id']] = True
return ret