mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
String: Fix plugin for Python 3.
This commit is contained in:
parent
cc56645cf9
commit
910244ef68
@ -239,7 +239,7 @@ class String(callbacks.Plugin):
|
|||||||
http://www.secure-hash-algorithm-md5-sha-1.co.uk/ for more information
|
http://www.secure-hash-algorithm-md5-sha-1.co.uk/ for more information
|
||||||
about SHA.
|
about SHA.
|
||||||
"""
|
"""
|
||||||
irc.reply(utils.crypt.sha(text).hexdigest())
|
irc.reply(utils.crypt.sha(text.encode('utf8')).hexdigest())
|
||||||
sha = wrap(sha, ['text'])
|
sha = wrap(sha, ['text'])
|
||||||
|
|
||||||
Class = String
|
Class = String
|
||||||
|
Loading…
Reference in New Issue
Block a user