Browse Source

Neues Prefix beim Import (sprich keins mehr)

phi 10 months ago
parent
commit
27398deac4
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      skript_index/pruefung.py

+ 2
- 1
skript_index/pruefung.py View File

@@ -40,10 +40,11 @@ print ('PruefungsListe...');
40 40
 
41 41
 prfgDict={}; # Alle Prffungen als Dict
42 42
 
43
+
43 44
 for pruefungsFilePath in pruefungsListe:
44 45
 	tmp_pruefungsFile = open(pruefungsFilePath, "rt");
45 46
 	for line in tmp_pruefungsFile.readlines():
46
-		if line.startswith("\\input{P_"):
47
+		if line.startswith("\\input{"):
47 48
 			print (pruefungsFilePath, "-->", line);
48 49
 			m = re.search('./(.+?)/Pruefung', pruefungsFilePath)
49 50
 			if m:

Loading…
Cancel
Save