TypeError fix

This commit is contained in:
Alexander Popov 2021-07-22 01:23:08 +03:00
parent d828c86715
commit 6ac482212c
Signed by: iiiypuk
GPG Key ID: 398FC73478D97286

View File

@ -34,7 +34,7 @@ def make_output(platform, output):
if platform == "win32":
print("\nWindows generate libraries list complete!")
elif ("linux", "darwin") in platform:
elif platform in ("linux", "darwin"):
print("\nUnix generate libraries list complete!")
elif output == "txt":
with open("./libs.txt", "w", encoding="utf-8") as f:
@ -42,7 +42,7 @@ def make_output(platform, output):
if platform == "win32":
print("\nWindows generate libraries list complete!\n" "See libs.txt file.")
elif ("linux", "darwin") in platform:
elif platform in ("linux", "darwin"):
print("\nUnix generate libraries list complete!\n" "See libs.txt file.")