summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Schnitzer <mail@jakobschnitzer.de>2017-09-28 19:17:42 +0200
committerAarni Koskela <akx@iki.fi>2018-01-15 18:50:59 +0200
commitbdb2f4babbdbbf425a66e4423279f954fba0fc65 (patch)
treee419e7cbd455f157eb86f939fcd7d8b9dcca3e05
parentf29eccd6b6edd031e43ccd1bcf92513221b66df6 (diff)
downloadbabel-bdb2f4babbdbbf425a66e4423279f954fba0fc65.tar.gz
Revert "Also check for `sys._MEIPASS` before assuming PyInstallerness (#526)"
This reverts commit 0b34807ab3d9681bb653ac535e0fbc6f0ac3ffbb.
-rw-r--r--babel/localedata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/localedata.py b/babel/localedata.py
index 4b6d3b6..ae21547 100644
--- a/babel/localedata.py
+++ b/babel/localedata.py
@@ -22,7 +22,7 @@ from babel._compat import pickle, string_types
def get_base_dir():
- if getattr(sys, 'frozen', False) and getattr(sys, '_MEIPASS', None):
+ if getattr(sys, 'frozen', False):
# we are running in a |PyInstaller| bundle
basedir = sys._MEIPASS
else: