Skip to content

Commit

Permalink
Revert "Also check for sys._MEIPASS before assuming PyInstallerness (
Browse files Browse the repository at this point in the history
…#526)"

This reverts commit 0b34807.
  • Loading branch information
yagebu committed Sep 28, 2017
1 parent f29eccd commit 7cedb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel/localedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


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:
Expand Down

0 comments on commit 7cedb84

Please sign in to comment.