From 95037683b72f7015d60af666a403faace88b8e8d Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 23 Jan 2021 12:01:35 +0000 Subject: [PATCH] Exclude decimal point from options TG string --- bridge_master.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge_master.py b/bridge_master.py index 0500179..c59902e 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -604,13 +604,13 @@ def options_config(): if _options['TS1_STATIC']: re.sub("\s","",_options['TS1_STATIC']) - if re.search("![\d\,]",_options['TS1_STATIC']): + if re.search("![\d\,\.]",_options['TS1_STATIC']): logger.debug('(OPTIONS) %s - TS1_STATIC contains characters other than numbers and comma, ignoring',_system) continue if _options['TS2_STATIC']: re.sub("\s","",_options['TS2_STATIC']) - if re.search("![\d\,]",_options['TS2_STATIC']): + if re.search("![\d\,\.]",_options['TS2_STATIC']): logger.debug('(OPTIONS) %s - TS2_STATIC contains characters other than numbers and comma, ignoring',_system) continue