fix: PPD backslash typo, >8-digit code guard, NickName, build validation

This commit is contained in:
Oliver Hofmann
2026-06-02 21:19:35 +02:00
parent 49ab635018
commit d944e2443d
4 changed files with 17 additions and 3 deletions
+3
View File
@@ -21,6 +21,9 @@ def get_account_code(options):
code = km[2:]
if not code.isdigit():
return None
if len(code) > 8:
sys.stderr.write(f"kyofilter: WARNING: department code '{code}' exceeds 8 digits, ignored\n")
return None
return code.zfill(8)