Add id tot he beacon event dataset

This commit is contained in:
Thomas S Hatch 2015-02-02 03:29:54 -07:00
parent 9b9861076d
commit eaff795bdd

View File

@ -36,5 +36,7 @@ class Beacon(object):
for data in raw:
if 'tag' in data:
tag += data.pop('tag')
if not 'id' in data:
data['id'] = self.opts['id']
ret.append({'tag': tag, 'data': data})
return ret