Skip to content

Commit

Permalink
Merge pull request #1478 from p-l-/fix-passive-local-bulk
Browse files Browse the repository at this point in the history
Passive: fix --local-bulk insertion for Python 3.10
  • Loading branch information
p-l- committed Jan 20, 2023
2 parents 99ab603 + b532341 commit 2457c53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ivre/db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4130,8 +4130,8 @@ def insert_or_update(
for val in timestamp, lastseen:
if val is not None:
timestamps.append(val)
spec["firstseen"] = min(*timestamps)
spec["lastseen"] = max(*timestamps)
spec["firstseen"] = min(timestamps)
spec["lastseen"] = max(timestamps)
if getinfos is not None:
spec.update(getinfos(spec))
self.output_function(spec)
Expand Down

0 comments on commit 2457c53

Please sign in to comment.