[Skencil-commits] r771 - skencil/branches/skencil-0.6/src/Sketch
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sat Oct 30 20:47:25 CEST 2010
Author: igor_n
Date: 2010-10-30 20:47:24 +0200 (Sat, 30 Oct 2010)
New Revision: 771
Modified:
skencil/branches/skencil-0.6/src/Sketch/__init__.py
Log:
fix for correct message dir path
Modified: skencil/branches/skencil-0.6/src/Sketch/__init__.py
===================================================================
--- skencil/branches/skencil-0.6/src/Sketch/__init__.py 2010-10-30 18:35:27 UTC (rev 770)
+++ skencil/branches/skencil-0.6/src/Sketch/__init__.py 2010-10-30 18:47:24 UTC (rev 771)
@@ -31,7 +31,8 @@
sys.path.insert(1, dir)
-message_dir = os.path.join(sys.path[0], 'Resources/Messages')
+message_dir = os.path.join(_parentdir, 'Resources/Messages')
+print message_dir
try:
from intl import gettext, dgettext, bindtextdomain
import intl, locale
More information about the Skencil-commits
mailing list