[minor] [fix] module imported in translate

This commit is contained in:
Nabin Hait 2013-07-24 10:18:54 +05:30
parent 1649bbff6a
commit 46df0c62e7

View file

@ -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":