Merge pull request #4 from f4hlv/patch-2

Update utils.py
This commit is contained in:
Cort Buffington 2019-03-07 17:00:14 -06:00 committed by GitHub
commit 22e9948341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ def mk_full_id_dict(_path, _file, _type):
}
elif _type == 'tgid':
for record in records:
_dict[int(record['tgid'])] = {
_dict[int(record['id'])] = {
'NAME': record['callsign'],
'ID': record['id']
}
@ -235,4 +235,4 @@ if __name__ == '__main__':
print(int_id('\x00\xc8\x32\x65'))