fixes
[wolnelektury.git] / src / lesmianator / models.py
index 092a828..684d1c4 100644 (file)
@@ -126,7 +126,7 @@ class Continuations(models.Model):
         # count from this book only
         output = StringIO()
         wldoc = book.wldocument(parse_dublincore=False)
         # count from this book only
         output = StringIO()
         wldoc = book.wldocument(parse_dublincore=False)
-        output = wldoc.as_text(('raw-text',)).get_string()
+        output = wldoc.as_text(('raw-text',)).get_bytes()
         del wldoc
 
         conts = {}
         del wldoc
 
         conts = {}