mirror of https://github.com/CIRCL/lookyloo
fix: [modules] corect variable type
parent
992dc84e00
commit
f4f2d6b776
|
@ -8,5 +8,6 @@ if [ -f ../../valkey/src/valkey-server ]; then
|
|||
elif [ -f ../../redis/src/redis-server ]; then
|
||||
../../redis/src/redis-server ./cache.conf
|
||||
else
|
||||
echo "Warning: using system redis-server. Valkey-server or redis-server from source is recommended." >&2
|
||||
/usr/bin/redis-server ./cache.conf
|
||||
fi
|
||||
|
|
|
@ -8,6 +8,6 @@ if [ -f ../../valkey/src/valkey-server ]; then
|
|||
elif [ -f ../../redis/src/redis-server ]; then
|
||||
../../redis/src/redis-server ./indexing.conf
|
||||
else
|
||||
echo "Warning: using system redis-server. Valkey-server or redis-server from source is recommended." >&2
|
||||
/usr/bin/redis-server ./indexing.conf
|
||||
|
||||
fi
|
||||
|
|
|
@ -968,8 +968,8 @@ def hashlookup(tree_uuid: str) -> str | WerkzeugResponse | Response:
|
|||
for sha1, entries in merged.items():
|
||||
entries['nodes'] = {node.name for node in entries['nodes']}
|
||||
except Exception: # error or module not enabled
|
||||
merged = False
|
||||
total_ressources = False
|
||||
merged = []
|
||||
total_ressources = []
|
||||
return render_template('hashlookup.html', base_tree_uuid=tree_uuid, merged=merged, total_ressources=total_ressources)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue