From 61527e4ae8ef48a5102df2e26cff3bc8c0a2a3da Mon Sep 17 00:00:00 2001 From: Waldek Date: Sat, 14 Sep 2019 21:07:38 +0200 Subject: [PATCH] Update web_tables.py --- web_tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_tables.py b/web_tables.py index f640d84..e6898b0 100644 --- a/web_tables.py +++ b/web_tables.py @@ -511,7 +511,7 @@ def process_message(_message): ## log only to file if system is NOT OpenBridge event (not logging open bridge system, name depends on your OB definitions) AND transmit time is LONGER as 2sec (make sense for very short transmits) #if int(float(p[9])) > 2: # log_lh_message = '{},{},{},{},{},{},{},TS{},TG{},{},{},{}'.format(_now, p[9], p[0], p[1], p[3], p[5], alias_call(int(p[5]), subscriber_ids), p[7], p[8],alias_tgid(int(p[8]),talkgroup_ids),p[6], alias_short(int(p[6]), subscriber_ids)) - # lh_logfile = open('/opt/HBmonitor/lastheard.log', "a") + # lh_logfile = open('/opt/HBmonitor/log/lastheard.log', "a") # lh_logfile.write(log_lh_message + '\n') # lh_logfile.close() elif p[1] == 'START':