This commit is contained in:
Kovid Goyal 2011-10-02 19:24:15 -06:00
parent a708a7ad32
commit fe5152af36

View file

@ -852,7 +852,6 @@ def _upload_cover(self, path, filename, metadata, filepath, uploadgrayscale):
if os.path.exists(fpath):
with open(cover, 'rb') as f:
data = f.read()
f.close()
# Return the data resized and in Grayscale if
# required