mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
fix wrong point for writing in temporary file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8733 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
07cc9f6753
commit
fc09056ccc
@ -1,3 +1,8 @@
|
||||
2004-05-03 José Matos <jamatos@lyx.org>
|
||||
|
||||
* scripts/legacy_lyxpreview2ppm.py: bug fix for temporary file
|
||||
writing.
|
||||
|
||||
2004-05-03 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* layouts/scrlettr.layout: include counters.
|
||||
|
@ -241,7 +241,7 @@ def crop_files(pnmcrop, basename):
|
||||
new = t.open(file, "r")
|
||||
copyfileobj(new, tmp)
|
||||
if not new.close():
|
||||
copyfileobj(tmp, open(file,"wb"))
|
||||
copyfileobj(tmp, open(file,"wb"), 1)
|
||||
|
||||
|
||||
def legacy_conversion(argv):
|
||||
|
Loading…
Reference in New Issue
Block a user