Fix generation of trnaslation template for website

This commit is contained in:
Kovid Goyal 2019-03-07 10:22:39 +05:30
parent 6c0be97ad5
commit addf9af51a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -138,7 +138,7 @@ class POT(Command): # {{{
def get_website_strings(self):
self.info('Generating translation template for website')
self.wn_path = os.path.expanduser('~/work/srv/main/static/generate.py')
data = subprocess.check_output([self.wn_path, '--pot'])
data = subprocess.check_output([self.wn_path, '--pot', '/tmp/wn'])
bdir = os.path.join(self.TRANSLATIONS, 'website')
if not os.path.exists(bdir):
os.makedirs(bdir)