diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 34bc2628b..39512f24a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -18,7 +18,7 @@ jobs: close-issue-message: "" days-before-stale: 30 days-before-close: 3 - exempt-draft-pr: true + exempt-draft-pr: false exempt-issue-labels: "planned,security" exempt-pr-labels: "planned,security,dependencies" operations-per-run: 120 diff --git a/frigate/output/birdseye.py b/frigate/output/birdseye.py index 98b4dec75..867db8d97 100644 --- a/frigate/output/birdseye.py +++ b/frigate/output/birdseye.py @@ -8,7 +8,6 @@ import os import queue import subprocess as sp import threading -import time import traceback from multiprocessing.synchronize import Event as MpEvent from typing import Any, Optional diff --git a/web/src/components/card/ReviewCard.tsx b/web/src/components/card/ReviewCard.tsx index fa2a675be..a57c1e9ed 100644 --- a/web/src/components/card/ReviewCard.tsx +++ b/web/src/components/card/ReviewCard.tsx @@ -85,7 +85,7 @@ export default function ReviewCard({ { playback: "realtime" }, ) .then((response) => { - if (response.status == 200) { + if (response.status < 300) { toast.success(t("export.toast.success"), { position: "top-center", action: ( diff --git a/web/src/views/events/EventView.tsx b/web/src/views/events/EventView.tsx index 919bf708a..b5aa8532f 100644 --- a/web/src/views/events/EventView.tsx +++ b/web/src/views/events/EventView.tsx @@ -278,7 +278,7 @@ export default function EventView({ { playback: "realtime", image_path: review.thumb_path }, ) .then((response) => { - if (response.status == 200) { + if (response.status < 300) { toast.success( t("export.toast.success", { ns: "components/dialog" }), { diff --git a/web/src/views/motion-search/MotionSearchView.tsx b/web/src/views/motion-search/MotionSearchView.tsx index 567206524..97811b740 100644 --- a/web/src/views/motion-search/MotionSearchView.tsx +++ b/web/src/views/motion-search/MotionSearchView.tsx @@ -357,7 +357,7 @@ export default function MotionSearchView({ }, ) .then((response) => { - if (response.status == 200) { + if (response.status < 300) { toast.success( t("export.toast.success", { ns: "components/dialog" }), {