Remove prints

This commit is contained in:
nathom 2021-07-24 11:50:06 -07:00
parent ac00b4c1c8
commit 37e2a7e8c1
2 changed files with 1 additions and 2 deletions

View file

@ -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):

View file

@ -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")]