mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
oops
This commit is contained in:
parent
d9f56839e6
commit
dbf9a81940
@ -32,10 +32,10 @@ def prints(*a, **kw):
|
|||||||
a = (as_unicode(x, errors='replace') for x in a)
|
a = (as_unicode(x, errors='replace') for x in a)
|
||||||
sep = as_unicode(sep)
|
sep = as_unicode(sep)
|
||||||
end = as_unicode(end)
|
end = as_unicode(end)
|
||||||
for x in a:
|
for i, x in enumerate(a):
|
||||||
stream.write(x)
|
if sep and i != 0:
|
||||||
if sep:
|
|
||||||
stream.write(sep)
|
stream.write(sep)
|
||||||
|
stream.write(x)
|
||||||
if end:
|
if end:
|
||||||
stream.write(end)
|
stream.write(end)
|
||||||
if kw.get('flush'):
|
if kw.get('flush'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user