Dont use calibre-debug to build pot files

This commit is contained in:
Kovid Goyal 2020-07-31 23:26:02 +05:30
parent 01c9ffee6f
commit c7b66aada8
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -137,7 +137,7 @@ def get_content_server_strings(self):
def get_user_manual_docs(self):
self.info('Generating translation templates for user_manual')
base = tempfile.mkdtemp()
subprocess.check_call(['calibre-debug', self.j(self.d(self.SRC), 'manual', 'build.py'), 'gettext', base])
subprocess.check_call([sys.executable, self.j(self.d(self.SRC), 'manual', 'build.py'), 'gettext', base])
tbase = self.j(self.TRANSLATIONS, 'manual')
for x in os.listdir(base):
if not x.endswith('.pot'):