rollback changes... again
This commit is contained in:
parent
03bdaaae6b
commit
e908cdc7eb
@ -117,15 +117,16 @@ def mk_full_id_dict(_path, _file):
|
|||||||
# These are kept for legacy purposes; They only return a callsign
|
# These are kept for legacy purposes; They only return a callsign
|
||||||
def get_info(_id, _dict):
|
def get_info(_id, _dict):
|
||||||
if _id in _dict:
|
if _id in _dict:
|
||||||
return _dict[_id]['CALLSIGN']
|
return _dict[_id]
|
||||||
return _id
|
return _id
|
||||||
|
|
||||||
def get_alias(_id, _dict):
|
def get_alias(_id, _dict):
|
||||||
_int_id = int_id(_id)
|
_int_id = int_id(_id)
|
||||||
if _int_id in _dict:
|
if _int_id in _dict:
|
||||||
return _dict[_int_id]['CALLSIGN']
|
return _dict[_int_id]
|
||||||
return _int_id
|
return _int_id
|
||||||
|
|
||||||
|
# These do not work yet, don't use them.
|
||||||
def get_callsign(_id, _dict):
|
def get_callsign(_id, _dict):
|
||||||
if type(_id) != int:
|
if type(_id) != int:
|
||||||
_id = int_id(_id)
|
_id = int_id(_id)
|
||||||
|
2
setup.py
2
setup.py
@ -7,7 +7,7 @@ def readme():
|
|||||||
return file.read()
|
return file.read()
|
||||||
|
|
||||||
setup(name='dmr_utils',
|
setup(name='dmr_utils',
|
||||||
version='0.1.4',
|
version='0.1.5',
|
||||||
description='ETSI DMR (Digital Mobile Radio) Teir II Utilities',
|
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',
|
long_description='Modules to disassemble and assemble DMR packets, including generating and decoding varoius FEC routines',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user