Skip to content
Snippets Groups Projects
Commit 556ed987 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

Refactor - Migrate to content_find

parent 04eaf371
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ def lookup_hash(q):
"""
hash = query.categorize_hash(q)
if hash != {}:
present = main.storage().content_present(hash)
present = main.storage().content_find(hash)
return 'Found!' if present else 'Not Found'
return """This is not a hash.
Hint: hexadecimal string with length either 20 (sha1) or 32 (sha256)."""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment