Skip to content

Commit e139dcc

Browse files
committed
avoid python warning
..\pythonscript\installer\extractVersion.py:7: SyntaxWarning: invalid escape sequence '\P'
1 parent 70c3d04 commit e139dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/extractVersion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import sys, os
55
import re
66

7-
pathToVersionFile = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), '..\PythonScript\src\PythonScriptVersion.h')
7+
pathToVersionFile = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), '..\\PythonScript\\src\\PythonScriptVersion.h')
88

99
versionHeader = open(pathToVersionFile, 'r')
1010
versionRegex = re.compile(r'PYSCR_VERSION_STRING\s+"([0-9.]+)"')

0 commit comments

Comments
 (0)