Quote removal from options

This commit is contained in:
Simon 2020-12-27 21:01:37 +00:00
parent 023d2f98af
commit 6155507644
1 changed files with 2 additions and 0 deletions

View File

@ -554,12 +554,14 @@ def options_config():
if _options['TS1_STATIC']:
re.sub("\s","",_options['TS1_STATIC'])
re.sub("\'","",_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'])
re.sub("\'","",_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