Skip to content

Commit d456fec

Browse files
authored
Merge pull request #1508 from stonebig/master
remove further useless complexity
2 parents d4dfc91 + 42728da commit d456fec

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

make.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -686,13 +686,12 @@ def make_all(
686686
requirements=requirements_files_list,
687687
winpy_dirname=winpy_dirname,
688688
)
689-
if str(create_installer).lower() != "false":
690-
if ".zip" in str(create_installer).lower():
691-
builder.create_installer_7zip(".zip")
692-
if ".7z" in str(create_installer).lower():
693-
builder.create_installer_7zip(".7z")
694-
if "7zip" in str(create_installer).lower():
695-
builder.create_installer_7zip(".exe")
689+
if ".zip" in str(create_installer).lower():
690+
builder.create_installer_7zip(".zip")
691+
if ".7z" in str(create_installer).lower():
692+
builder.create_installer_7zip(".7z")
693+
if "7zip" in str(create_installer).lower():
694+
builder.create_installer_7zip(".exe")
696695

697696

698697
if __name__ == "__main__":

0 commit comments

Comments
 (0)