fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for picture in Python 3.
[librarian.git]
/
librarian
/
cover.py
diff --git
a/librarian/cover.py
b/librarian/cover.py
index
09c8071
..
c32751d
100644
(file)
--- a/
librarian/cover.py
+++ b/
librarian/cover.py
@@
-305,7
+305,7
@@
class WLCover(Cover):
bg_src = None
if bg_src is None:
bg_src = URLOpener().open(url)
bg_src = None
if bg_src is None:
bg_src = URLOpener().open(url)
- self.background_img =
String
IO(bg_src.read())
+ self.background_img =
Bytes
IO(bg_src.read())
bg_src.close()
def pretty_author(self):
bg_src.close()
def pretty_author(self):