From 46df0c62e782042ffe77c8b3e1ee74e5c50d16c7 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 24 Jul 2013 10:18:54 +0530 Subject: [PATCH] [minor] [fix] module imported in translate --- webnotes/translate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webnotes/translate.py b/webnotes/translate.py index 8961c95f73..3f3788eed5 100644 --- a/webnotes/translate.py +++ b/webnotes/translate.py @@ -113,6 +113,7 @@ def build_message_files(): def build_for_pages(path): """make locale files for framework py and js (all)""" + from webnotes.modules import get_doc_path messages = [] for (basepath, folders, files) in os.walk(path): if os.path.basename(os.path.dirname(basepath))=="page":