[hamster-applet] an embarassing breakage. fixes bug 619722



commit 2f402f24f837be1a4645542bf36a373c56c1fcb6
Author: Toms Bauģis <toms baugis gmail com>
Date:   Wed May 26 15:19:30 2010 +0100

    an embarassing breakage. fixes bug 619722

 src/hamster/stuff.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/stuff.py b/src/hamster/stuff.py
index ce4fb45..367f243 100644
--- a/src/hamster/stuff.py
+++ b/src/hamster/stuff.py
@@ -39,7 +39,7 @@ def setup_i18n():
         import defs
         data_dir = defs.DATA_DIR
     except:
-        data_dir = os.path.join(realpath(__file__), '..', 'data')
+        data_dir = os.path.join(os.path.realpath(__file__), '..', 'data')
 
     locale_dir = os.path.abspath(os.path.join(data_dir, "..", "locale"))
     for module in (gettext, locale):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]