Skip to content
This repository was archived by the owner on Nov 17, 2024. It is now read-only.

Commit cea4eea

Browse files
fix(build): simplify pyinstaller script (#221)
1 parent 9902610 commit cea4eea

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/build.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ def build():
2525
pyinstaller_args.append('--console')
2626

2727
# fix args for windows
28-
arg_count = 0
29-
for arg in pyinstaller_args:
30-
pyinstaller_args[arg_count] = arg.replace(':', ';')
31-
arg_count += 1
28+
for index, arg in enumerate(pyinstaller_args):
29+
pyinstaller_args[index] = arg.replace(':', ';')
3230

3331
# no point in having macos/linux versions for this project
3432

0 commit comments

Comments
 (0)