Remove unnecessary read

This commit is contained in:
Sven Slootweg 2013-07-03 04:07:09 +02:00
parent a8d8d2accc
commit 242f4b9331

View file

@ -111,7 +111,7 @@ for zpy in files:
data = f.read()
f.close()
doc = zippydoc.Document(open(zpy, "r").read())
doc = zippydoc.Document(data)
rendered = doc.transform(HtmlRuleset())