Skip to content

Commit d9f3cf7

Browse files
committed
doc fix
1 parent 24ead8e commit d9f3cf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/book/src/installation/host/installation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ You can install CAPE's dependencies with the traditional. However, we recommend
9292

9393
To install dependencies with poetry, execute the following command (from the main working directory of CAPE, usually ``/opt/CAPEv2/``)::
9494

95-
$ sudo poetry install
95+
$ poetry install
9696

9797
Once the installation is done, you can confirm a virtual environment has been created with::
9898

web/submission/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def index(request, task_id=None, resubmit_hash=None):
364364
details["errors"].append({os.path.basename(filename): task_ids_tmp})
365365
else:
366366
details["task_ids"] = task_ids_tmp
367-
if web_conf.general.get("existent_tasks", False):
367+
if web_conf.web_reporting.get("enabled", False) and web_conf.general.get("existent_tasks", False):
368368
records = perform_search("target_sha256", hash, search_limit=5)
369369
for record in records or []:
370370
existent_tasks.setdefault(record["target"]["file"]["sha256"], []).append(record)

0 commit comments

Comments
 (0)