Skip to content

Commit

Permalink
fix syntax without trying to use f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Jun 10, 2024
1 parent 8c4b8ca commit 9a67136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/win/gen-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
}

for path, pattern in files.items():
print 'SetOutPath', '"' + makepath("$INSTDIR/" + path + '/') + '"'
print('SetOutPath "' + makepath('$INSTDIR/' + path + '/') + '"')
if type(pattern) == list:
check_files = [root + '/' + path + '/' + x for x in pattern]
else:
check_files = glob(makepath(root + '/' + path + '/' + pattern))
for fname in check_files:
print 'File', '"' + makepath(fname.replace(root, '${RELEASE_DIR}')) + '"'
print('File "' + makepath(fname.replace(root, '${RELEASE_DIR}')) + '"')

0 comments on commit 9a67136

Please sign in to comment.