fix: Merge frisst keine output-Zeilen mehr (leeres fallback)

This commit is contained in:
humocs-man committed 2026-10-10 18:22:55 +02:00
1 parent adbca50fbe
commit 07cc206c7e
1 file changed
+4 -1
+4 -1
View File
@@ -325,7 +325,10 @@ def profile_output_names(block_lines):
def output_name_of(line): def output_name_of(line):
parts = line.strip().split() parts = line.strip().split()
if len(parts) >= 2 and parts[0] == "output" and parts[1] != "*": if len(parts) >= 2 and parts[0] == "output":
# Auch "*" und "disable"-Zeilen als Namen fuehren (sonst frisst
# der Merge z.B. `output * enable` im fallback -> leeres Profil
# -> kanshi wendet gar nichts mehr an).
return parts[1].strip("'\"") return parts[1].strip("'\"")
return None return None