Skip to content

Commit e8c45b5

Browse files
status fix
1 parent 9bcae00 commit e8c45b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bbot_server/modules/scans/scans_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ async def handle_event(self, event, asset) -> list[Activity]:
283283
except self.BBOTServerNotFoundError:
284284
existing_scan = None
285285
existing_status_code = get_scan_status_code(getattr(existing_scan, "status_code", SCAN_STATUS_QUEUED))
286+
status_changed = False
286287
# if the scan already exists, update it
287288
if existing_scan:
288289
# ignore if the new status is at or behind the existing one

0 commit comments

Comments
 (0)