Переглянути джерело

Neues Prefix beim Import (sprich keins mehr)

phi 10 місяці тому
джерело
коміт
27398deac4
1 змінених файлів з 2 додано та 1 видалено
  1. 2
    1
      skript_index/pruefung.py

+ 2
- 1
skript_index/pruefung.py Переглянути файл

@@ -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:

Завантаження…
Відмінити
Зберегти