Skip to content

Commit

Permalink
avoid ..\pythonscript\installer\updateLatestVersion.py:3: SyntaxWarni…
Browse files Browse the repository at this point in the history
…ng: invalid escape sequence '\s'

  versionRegex = re.compile('^\s*Latest Version: ([0-9]+\.){3}[0-9]+\s*')
  • Loading branch information
chcg committed Dec 21, 2023
1 parent c0873d7 commit 729956c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/updateLatestVersion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys, re

versionRegex = re.compile('^\s*Latest Version: ([0-9]+\.){3}[0-9]+\s*')
versionRegex = re.compile('^\\s*Latest Version: ([0-9]+\.){3}[0-9]+\\s*')
header = open(sys.argv[1], "r")
result = ''
for line in header:
Expand Down

0 comments on commit 729956c

Please sign in to comment.