mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-24 12:07:14 -04:00
Remove prints
This commit is contained in:
parent
ac00b4c1c8
commit
37e2a7e8c1
2 changed files with 1 additions and 2 deletions
|
@ -128,7 +128,6 @@ class Database:
|
||||||
|
|
||||||
with sqlite3.connect(self.path) as conn:
|
with sqlite3.connect(self.path) as conn:
|
||||||
logger.debug(command)
|
logger.debug(command)
|
||||||
print(command)
|
|
||||||
conn.execute(command, tuple(items.values()))
|
conn.execute(command, tuple(items.values()))
|
||||||
|
|
||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
|
|
|
@ -32,7 +32,7 @@ class NonStreamable(Exception):
|
||||||
super().__init__(self.message)
|
super().__init__(self.message)
|
||||||
|
|
||||||
def print(self, item):
|
def print(self, item):
|
||||||
print(self.print_msg(item))
|
click.echo(self.print_msg(item))
|
||||||
|
|
||||||
def print_msg(self, item) -> str:
|
def print_msg(self, item) -> str:
|
||||||
base_msg = [click.style(f"Unable to stream {item!s}.", fg="yellow")]
|
base_msg = [click.style(f"Unable to stream {item!s}.", fg="yellow")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue