[fix] [translate] move conf file import

This commit is contained in:
Rushabh Mehta 2013-06-18 15:51:01 +05:30
parent 1eb203657f
commit 4d5ea77a89

View file

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