[ttCollection] don't seek(0) when writing to possibly unseekable strems

see 0daed6eb59 (r27608260)
This commit is contained in:
Cosimo Lupo 2018-02-16 18:02:05 +00:00
parent d2298be083
commit 5682693a3e
No known key found for this signature in database
GPG Key ID: 59D54DB0C9976482

View File

@ -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()