diff --git a/dmr_utils/utils.py b/dmr_utils/utils.py index acea56d..8b23e5a 100755 --- a/dmr_utils/utils.py +++ b/dmr_utils/utils.py @@ -117,15 +117,16 @@ def mk_full_id_dict(_path, _file): # These are kept for legacy purposes; They only return a callsign def get_info(_id, _dict): if _id in _dict: - return _dict[_id]['CALLSIGN'] + return _dict[_id] return _id def get_alias(_id, _dict): _int_id = int_id(_id) if _int_id in _dict: - return _dict[_int_id]['CALLSIGN'] + return _dict[_int_id] return _int_id - + +# These do not work yet, don't use them. def get_callsign(_id, _dict): if type(_id) != int: _id = int_id(_id) diff --git a/setup.py b/setup.py index 285b705..974f465 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def readme(): return file.read() setup(name='dmr_utils', - version='0.1.4', + version='0.1.5', description='ETSI DMR (Digital Mobile Radio) Teir II Utilities', long_description='Modules to disassemble and assemble DMR packets, including generating and decoding varoius FEC routines', classifiers=[