Fix warning in build script

This commit is contained in:
Nick Hastings 2023-11-20 09:20:38 -05:00
parent 11c8084ccd
commit c90477a720

View File

@ -171,7 +171,7 @@ class SMConfig(object):
import re
with open(os.path.join(builder.sourcePath, 'product.version'), 'r') as fp:
productContents = fp.read()
m = re.match('(\d+)\.(\d+)\.(\d+).*', productContents)
m = re.match(r'(\d+)\.(\d+)\.(\d+).*', productContents)
if m == None:
self.productVersion = '1.0.0'
else: