Alle TEFWEICHEN sind eingepflegt.

This commit is contained in:
2025-09-18 14:55:11 +02:00
parent ad39d3335e
commit 0407b2d044
459 changed files with 15010 additions and 7260 deletions
@@ -385,11 +385,11 @@ if __name__ == '__main__':
in_dir = args.inputdir
else:
if args.bogen:
in_dir = os.environ.get('RD_CONF_BOGEN')
in_dir = os.environ.get('RD_CONF_OFBOGEN')
elif args.tefbogen:
in_dir = os.environ.get('RD_CONF_TEFBOGEN')
elif args.weichen:
in_dir = os.environ.get('RD_CONF_WEICHEN')
in_dir = os.environ.get('RD_CONF_OFWEICHEN')
elif args.tefweichen:
in_dir = os.environ.get('RD_CONF_TEFWEICHEN')
@@ -126,7 +126,7 @@ def convert_svg_to_xml(svg_path, output_dir):
def update_txt_file(txt_path, xml_rel_path):
"""Update path in TXT file"""
try:
with open(txt_path, "r", encoding="UTF-8") as f:
with open(txt_path, "r", encoding="UTF-8-sig") as f:
data = json.load(f)
if "srcSVG" not in data: