From 4d5ea77a89f742339d7e7bbb11c4bd8b77d399bc Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 18 Jun 2013 15:51:01 +0530 Subject: [PATCH] [fix] [translate] move conf file import --- webnotes/translate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webnotes/translate.py b/webnotes/translate.py index 0bf6a9fcb2..ab0cd55ff6 100644 --- a/webnotes/translate.py +++ b/webnotes/translate.py @@ -29,7 +29,7 @@ Contributing: 3. Then run translate """ -import webnotes, conf +import webnotes import os import codecs import json @@ -375,7 +375,7 @@ def google_translate(lang, infile, outfile): data = get_all_messages_from_file(infile) - import requests + import requests, conf with open(outfile, 'w') as msgfile: from csv import writer