aboutsummaryrefslogtreecommitdiff
path: root/feedgetter.py
diff options
context:
space:
mode:
Diffstat (limited to 'feedgetter.py')
-rw-r--r--feedgetter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/feedgetter.py b/feedgetter.py
index aa755632..d65ef4b8 100644
--- a/feedgetter.py
+++ b/feedgetter.py
@@ -39,6 +39,7 @@ class FeedGetter(object):
print "./feed.lst not found"
exit(0)
# Create the base if not exists.
+ sqlite3.register_adapter(str, lambda s : s.decode('utf-8'))
self.conn = sqlite3.connect("./var/feed.db", isolation_level = None)
self.c = self.conn.cursor()
self.c.execute('''create table if not exists rss_feed
bgstack15