Author: ianb
Date: 2008-11-09 22:52:26 -0700 (Sun, 09 Nov 2008)
New Revision: 3648
Modified:
FormEncode/trunk/formencode/api.py
Log:
fix for previous attempt at a GAE fix
Modified: FormEncode/trunk/formencode/api.py
===================================================================
--- FormEncode/trunk/formencode/api.py 2008-11-07 06:49:33 UTC (rev 3647)
+++ FormEncode/trunk/formencode/api.py 2008-11-10 05:52:26 UTC (rev 3648)
@@ -34,7 +34,7 @@
pass
if not hasattr(os, 'access'):
# This happens on Google App Engine
- os.path.join(os.path.dirname(__file__), 'i18n')
+ return os.path.join(os.path.dirname(__file__), 'i18n')
if os.access(locale_dir, os.R_OK | os.X_OK):
# If the resource is present in the egg, use it
return locale_dir
|