From 66b33369c1657a2c22f844a545cd0c1c8d558e9e Mon Sep 17 00:00:00 2001
From: Jim Miller
Date: Thu, 14 Apr 2016 10:21:11 -0500
Subject: [PATCH] Fix for literotica.com using str() instead of unicode().
---
fanficfare/adapters/adapter_literotica.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fanficfare/adapters/adapter_literotica.py b/fanficfare/adapters/adapter_literotica.py
index c56e121..fbe37d1 100644
--- a/fanficfare/adapters/adapter_literotica.py
+++ b/fanficfare/adapters/adapter_literotica.py
@@ -329,7 +329,7 @@ class LiteroticaSiteAdapter(BaseSiteAdapter):
div = self.utf8FromSoup(url, story2)
# logger.debug(div)
- fullhtml = str(div)
+ fullhtml = unicode(div)
# logger.debug(fullhtml)
fullhtml = re.sub(r'
\s*
', r'
', fullhtml)
fullhtml = re.sub(r'^
', r'', fullhtml)