Skip to content

Commit

Permalink
Further fix, RegEx syntax error deprecation \,
Browse files Browse the repository at this point in the history
  • Loading branch information
M0VUB committed Dec 7, 2024
1 parent 885c7d0 commit 5bc1a51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridge_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,13 +860,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

Expand Down

0 comments on commit 5bc1a51

Please sign in to comment.