Skip to content

Commit

Permalink
fix(analyzers_manager): fix in dragonfly
Browse files Browse the repository at this point in the history
  • Loading branch information
eshaan7 committed Nov 22, 2021
1 parent 5332c49 commit 71db839
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api_app/analyzers_manager/file_analyzers/dragonfly.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import logging
import time
from copy import deepcopy

from pydragonfly import Dragonfly, DragonflyException, TParams

Expand Down Expand Up @@ -115,7 +116,7 @@ def __fetch_and_build_result(self, analysis_id: int) -> dict:
expand=["reports", "reports.profile"],
),
)
analysis = response.data.copy()
analysis = deepcopy(response.data)

# fetch matched_rules for corresponding report objects
for idx in range(len(analysis["reports"])):
Expand Down

0 comments on commit 71db839

Please sign in to comment.