Add False as return to not throw attr error

This commit is contained in:
Joe Eacott 2020-05-01 12:49:43 -06:00 committed by Daniel Wozniak
parent adbec88f1a
commit c760a9d21b

View file

@ -149,7 +149,7 @@ def _check_bundled():
Gather run-time information to indicate if we are running from source or bundled.
"""
frozen = False
if getattr(sys, "frozen") and hasattr(sys, "_MEIPASS"):
if getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS"):
frozen = True
return frozen