From e908cdc7eb919b74cb5ce935d2efddcec0fdb0c5 Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Thu, 18 May 2017 20:52:05 -0500 Subject: [PATCH] rollback changes... again --- dmr_utils/utils.py | 7 ++++--- setup.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) 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=[