commit 4eda748506851129e4d6e12628041c3db01d6744
parent 56e80566f9fe1fa741c8e7c9d1d7cd2f93eca53e
Author: ThomasV <thomasv@gitorious>
Date: Wed, 28 Jan 2015 08:24:51 +0100
fix #991
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/util.py b/lib/util.py
@@ -66,7 +66,7 @@ def data_dir():
if __builtin__.use_local_modules:
return local_data_dir()
else:
- is_frozen = getattr(sys, 'frozen')
+ is_frozen = getattr(sys, 'frozen', False)
if is_frozen:
if is_frozen == "macosx_app":
basedir = os.path.abspath(".")