Fixed formatting.
This commit is contained in:
parent
146ae3c279
commit
4069dd21a3
89 changed files with 615 additions and 496 deletions
|
@ -4,6 +4,6 @@ from util import hook
|
|||
|
||||
@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'])
|
||||
for x in ['md5', 'sha1', 'sha256'])
|
||||
|
|
Reference in a new issue