mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Use pythonic syntax, as suggested by José.
This commit is contained in:
parent
9cdae51688
commit
cec9edd34b
@ -1777,8 +1777,8 @@ def rescanTeXFiles():
|
||||
interpreter = sys.executable
|
||||
if interpreter == '':
|
||||
interpreter = "python"
|
||||
tfp = cmdOutput('"' + interpreter + '"' + " -tt " + '"'
|
||||
+ os.path.join(srcdir, 'scripts', 'TeXFiles.py') + '"')
|
||||
tfp = cmdOutput('"%s" -tt "%s"' % (interpreter,\
|
||||
os.path.join(srcdir, 'scripts', 'TeXFiles.py')))
|
||||
logger.info(tfp)
|
||||
logger.info("\tdone")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user