bug fixes

This commit is contained in:
2026-04-23 17:22:29 +02:00
parent 7bb2c9907d
commit 91ba5a3f36
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ class Config:
if 'instrument' in result:
raise ArgError('cannot give instrument twice')
result['instrument'] = arg
elif arg in argmap:
else:
kind = argmap.get(arg, other)
if kind is None:
raise ArgError(f'unexpected argument: {arg!r}')
+1
View File
@@ -1,4 +1,5 @@
import re
import os
from pathlib import Path
from .base import MarcheControl, Logger, ArgError, write_content