Bug fix
This commit is contained in:
parent
496d5c4f9d
commit
e8e7c297ef
|
@ -28,6 +28,6 @@ def sha512(inp):
|
|||
|
||||
@hook.command
|
||||
def hash(inp):
|
||||
.hash <text> -- Returns hashes of <text>."
|
||||
"hash <text> -- Returns hashes of <text>."
|
||||
return ', '.join(x + ": " + getattr(hashlib, x)(inp).hexdigest()
|
||||
for x in ['md5', 'sha1', 'sha256'])
|
||||
|
|
Reference in a new issue