From c1055408fb0a5fd6cc9e8d1f622cb04bb1164143 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 25 Jun 2025 18:29:24 +0100 Subject: [PATCH] fixes double colouring bug patch bump --- pyproject.toml | 2 +- src/simple_recorder/app.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 188d529..b10b5c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "simple-recorder" -version = "0.1.2" +version = "0.1.3" description = "A simple OBS recorder" authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }] dependencies = [ diff --git a/src/simple_recorder/app.py b/src/simple_recorder/app.py index 28e57ef..13ab668 100644 --- a/src/simple_recorder/app.py +++ b/src/simple_recorder/app.py @@ -37,14 +37,14 @@ class Start(Command): @override async def run(self): if not self.filename: - raise ClypiException(error("Recording name cannot be empty.")) + raise ClypiException("Recording name cannot be empty.") with obsws.ReqClient( host=self.host, port=self.port, password=self.password ) as client: resp = client.get_record_status() if resp.output_active: - raise ClypiException(error("Recording is already active.")) + raise ClypiException("Recording is already active.") filename = f"{self.filename} {self.get_timestamp()}" client.set_profile_parameter( @@ -70,7 +70,7 @@ class Stop(Command): ) as client: resp = client.get_record_status() if not resp.output_active: - raise ClypiException(error("Recording is not active.")) + raise ClypiException("Recording is not active.") client.stop_record() print("Recording stopped successfully.")