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