Exclude decimal point from options TG string

master
Simon 6 years ago
parent 5344b6fd9f
commit e78e36bf74

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.