mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Add False as return to not throw attr error
This commit is contained in:
parent
adbec88f1a
commit
c760a9d21b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue