mirror of
https://github.com/kristoferssolo/LU-bookstore.git
synced 2026-02-04 05:22:03 +00:00
feat(gui): add logger
This commit is contained in:
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user