mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +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
|
||||
about SHA.
|
||||
"""
|
||||
irc.reply(utils.crypt.sha(text).hexdigest())
|
||||
irc.reply(utils.crypt.sha(text.encode('utf8')).hexdigest())
|
||||
sha = wrap(sha, ['text'])
|
||||
|
||||
Class = String
|
||||
|
Loading…
Reference in New Issue
Block a user