diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2025-03-15 16:19:29 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2025-03-15 16:19:29 +0000 |
| commit | 932a17ad8375940ef5840bc3d6f0359ba0e9150e (patch) | |
| tree | d9b526229d788ecfc6aa47523fc516f3e1cac1ac /main.py | |
| parent | 74f6d7aa403c397368ff29c24b97fafa03d0e20b (diff) | |
Add init printer
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,8 @@ with open("config.yaml", "r") as f: logger = logging.getLogger('uvicorn.error') lock = threading.Lock() +printer.init_printer(bytes.fromhex(config['printer']['maj']), bytes.fromhex(config['printer']['min'])) + app = FastAPI() group = 1 |
