Replace configparser with tomllib

This commit is contained in:
2026-01-25 17:50:22 +09:00
parent cb385097dc
commit ecaec99212
15 changed files with 71 additions and 70 deletions

19
example-config.toml Normal file
View File

@@ -0,0 +1,19 @@
[general]
quit_allowed = true
stop_allowed = false
show_tracebacks = true
input_encoding = 'utf8'
[database]
# url = "postgresql://robertem@127.0.0.1/pvvvv"
url = "sqlite:///test.db"
[limits]
low_credit_warning_limit = -100
user_recent_transaction_limit = 100
# See https://pypi.org/project/brother_ql/ for label types
# Set rotate to False for endless labels
[printer]
label_type = "62"
label_rotate = false