use dmr_utils
This commit is contained in:
parent
da882f086d
commit
f29a01290e
|
@ -25,6 +25,7 @@ from time import ctime
|
|||
from twisted.internet import reactor
|
||||
from twisted.internet import task
|
||||
from binascii import b2a_hex as h
|
||||
from dmr_utils.utils import int_id, get_alias
|
||||
|
||||
__autdor__ = 'Cortney T. Buffington, N0MJS'
|
||||
__copyright__ = 'Copyright (c) 2017 Cortney T. Buffington, N0MJS'
|
||||
|
@ -41,10 +42,6 @@ stat_file = '../dmrlink_stats.pickle'
|
|||
html_table_file = '../stats.html'
|
||||
frequency = 30
|
||||
|
||||
|
||||
def int_id(_hex_string):
|
||||
return int(h(_hex_string), 16)
|
||||
|
||||
def read_dict():
|
||||
try:
|
||||
with open(stat_file, 'rb') as file:
|
||||
|
|
Loading…
Reference in New Issue