Skip to content

Commit

Permalink
[tell] Unicodification
Browse files Browse the repository at this point in the history
Should fix sopel-irc#399
  • Loading branch information
embolalia committed Jan 28, 2014
1 parent 0901b9f commit 4417ba5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tell.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#encoding=utf8
"""
tell.py - Willie Tell and Ask Module
Copyright 2008, Sean B. Palmer, inamidst.com
Licensed under the Eiffel Forum License 2.
http://willie.dftba.net
"""
from __future__ import unicode_literals

import os
import time
Expand All @@ -23,7 +25,7 @@ def loadReminders(fn, lock):
result = {}
f = open(fn)
for line in f:
line = line.strip()
line = line.strip().decode('utf8')
if line:
try:
tellee, teller, verb, timenow, msg = line.split('\t', 4)
Expand Down

0 comments on commit 4417ba5

Please sign in to comment.