mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix generation of trnaslation template for website
This commit is contained in:
parent
6c0be97ad5
commit
addf9af51a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user