mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Fix the following problem with Python 2.4:
Traceback (most recent call last): File "/opt/src/lyx-2.0.x/lib/scripts/lyxpreview2bitmap.py", line 416, in ? exit(main(sys.argv)[0]) TypeError: 'str' object is not callable git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39771 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9c5a8a5baa
commit
6d99ecb8d9
@ -413,4 +413,4 @@ def main(argv):
|
||||
return (0, dvipng_metrics)
|
||||
|
||||
if __name__ == "__main__":
|
||||
exit(main(sys.argv)[0])
|
||||
sys.exit(main(sys.argv)[0])
|
||||
|
@ -131,6 +131,8 @@ What's new
|
||||
- Fix instant preview when external files are loaded in the preamble,
|
||||
e.g., through the \input LaTeX command.
|
||||
|
||||
- Fix instant preview when using Python version 2.4 or lower.
|
||||
|
||||
|
||||
* ADVANCED FIND AND REPLACE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user