diff --git a/rip/db.py b/rip/db.py index dd562c8..45f1eea 100644 --- a/rip/db.py +++ b/rip/db.py @@ -128,7 +128,6 @@ class Database: with sqlite3.connect(self.path) as conn: logger.debug(command) - print(command) conn.execute(command, tuple(items.values())) def __iter__(self): diff --git a/streamrip/exceptions.py b/streamrip/exceptions.py index bff9604..feefbcc 100644 --- a/streamrip/exceptions.py +++ b/streamrip/exceptions.py @@ -32,7 +32,7 @@ class NonStreamable(Exception): super().__init__(self.message) def print(self, item): - print(self.print_msg(item)) + click.echo(self.print_msg(item)) def print_msg(self, item) -> str: base_msg = [click.style(f"Unable to stream {item!s}.", fg="yellow")]