Skip to content

Commit

Permalink
Prefer False rather than 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Oct 30, 2024
1 parent eadbdc7 commit 11a6602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion com/win32com/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# flag if we are in a "frozen" build.
_frozen = getattr(sys, "frozen", False)
# pythoncom dumbly defaults this to zero - we believe sys.frozen over it.
if _frozen and not getattr(pythoncom, "frozen", 0):
if _frozen and not getattr(pythoncom, "frozen", False):
pythoncom.frozen = _frozen

# Add support for an external "COM Extensions" path.
Expand Down

0 comments on commit 11a6602

Please sign in to comment.