From 31e236dc465d3b03cabed1eda598f91ffa800391 Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Tue, 28 Apr 2026 22:40:46 +0100 Subject: [PATCH] fix(clip): use existing config instance for clip output path --- rewind/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rewind/core.py b/rewind/core.py index 80b72c7..d3571ab 100644 --- a/rewind/core.py +++ b/rewind/core.py @@ -14,7 +14,7 @@ def clip(seconds_from_end: float) -> None: if seconds_from_end <= 0 or seconds_from_end > 600: raise ValueError("Clip length must be positive and less than or equal to 10 minutes") - clip_output = Config().get_clip_output() + clip_output = config.get_clip_output() os.makedirs(clip_output, exist_ok=True) output_file_name = f"{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')}.mp4"