mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Fix the following problem with Python 2.4:
Traceback (most recent call last): File "/opt/src/lyx-devel/lib/scripts/lyxpreview2bitmap.py", line 535, in ? exit(main(sys.argv)[0]) TypeError: 'str' object is not callable git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39769 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cf4ddb2ed5
commit
968ab69e88
@ -532,4 +532,4 @@ def main(argv):
|
||||
return (0, dvipng_metrics)
|
||||
|
||||
if __name__ == "__main__":
|
||||
exit(main(sys.argv)[0])
|
||||
sys.exit(main(sys.argv)[0])
|
||||
|
Loading…
Reference in New Issue
Block a user