feat(gui): add logger

This commit is contained in:
Kristofers Solo
2023-11-08 15:52:00 +02:00
parent 6845ecfc06
commit 4843f74dff
2 changed files with 30 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env python3
from pathlib import Path
from bookstore.inventory import Inventory
@@ -22,8 +21,7 @@ logger.add(
def main() -> None:
db_path = Path("db.sqlite3")
inventory = Inventory(db_path)
app = App(inventory)
app.run()
App(inventory).run()
if __name__ == "__main__":