We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sys._MEIPASS
1 parent 1903a2b commit 0b34807Copy full SHA for 0b34807
1 file changed
babel/localedata.py
@@ -22,7 +22,7 @@
22
23
24
def get_base_dir():
25
- if getattr(sys, 'frozen', False):
+ if getattr(sys, 'frozen', False) and getattr(sys, '_MEIPASS', None):
26
# we are running in a |PyInstaller| bundle
27
basedir = sys._MEIPASS
28
else:
0 commit comments