rollback changes... again

This commit is contained in:
Cort Buffington 2017-05-18 20:52:05 -05:00
parent 03bdaaae6b
commit e908cdc7eb
2 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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=[