mirror of
https://github.com/adulau/wikirc2text.git
synced 2024-12-22 08:46:02 +00:00
Be sure that is UTF-8 encoded
This commit is contained in:
parent
fb4620a75d
commit
8c022df990
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue