diff --git a/html_stats.py b/html_stats.py index 5286dc9..1a667e0 100755 --- a/html_stats.py +++ b/html_stats.py @@ -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: