Skip to content

Commit 6b662ac

Browse files
authored
Merge pull request #144 from gjr80/master
fix typo in `InFactoryTHPacket` parser
2 parents 2a629b3 + 5be40ca commit 6b662ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/user/sdr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2020,7 +2020,7 @@ def parse_json(obj):
20202020
pkt['humidity'] = Packet.get_float(obj, 'humidity')
20212021
pkt['battery'] = 0 if obj.get('battery_ok') == 1 else 1
20222022
pkt['channel'] = obj.get('channel')
2023-
pkt = Packet.add_identifiers(pkt, sensor_id, ProloguePacket.__name__)
2023+
pkt = Packet.add_identifiers(pkt, sensor_id, InFactoryTHPacket.__name__)
20242024
return pkt
20252025

20262026

0 commit comments

Comments
 (0)