[ttCollection] don't seek(0) when writing to possibly unseekable strems
see 0daed6eb59 (r27608260)
This commit is contained in:
parent
d2298be083
commit
5682693a3e
@ -64,7 +64,6 @@ class TTCollection(object):
|
||||
file.write(struct.pack(">%dL" % len(self.fonts), *offsets))
|
||||
|
||||
if final:
|
||||
final.seek(0)
|
||||
final.write(file.getvalue())
|
||||
file.close()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user