Be sure that is UTF-8 encoded

This commit is contained in:
Alexandre Dulaunoy 2011-03-26 08:29:02 +01:00
parent fb4620a75d
commit 8c022df990

View file

@ -70,9 +70,9 @@ def core ():
shkey = sh.hexdigest() shkey = sh.hexdigest()
if not (s.has_key(shkey)): if not (s.has_key(shkey)):
s[shkey] = time.mktime(datetime.datetime.now().timetuple()) s[shkey] = time.mktime(datetime.datetime.now().timetuple())
print rcline print rcline.encode('utf-8')
else: else:
print rcline print rcline.encode('utf-8')
if x > 1: if x > 1:
time.sleep(float(options.wait)) time.sleep(float(options.wait))