[cleanup] Misc
Closes #5471, Closes #5312 Authored by: pukkandan, Alienmaster
This commit is contained in:
parent
8522226d2f
commit
7aaf4cd2a8
8 changed files with 19 additions and 19 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
import sys
|
||||
|
||||
if __package__ is None and not hasattr(sys, 'frozen'):
|
||||
if __package__ is None and not getattr(sys, 'frozen', False):
|
||||
# direct call of __main__.py
|
||||
import os.path
|
||||
path = os.path.realpath(os.path.abspath(__file__))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue