Skip to content

Commit

Permalink
Fix more old python syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Jun 10, 2024
1 parent a3e0dcc commit 068aa45
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(f'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(f'File "{makepath(fname.replace(root, '${RELEASE_DIR}'))}"')

0 comments on commit 068aa45

Please sign in to comment.