瀏覽代碼

Neues Prefix beim Import (sprich keins mehr)

phi 1 年之前
父節點
當前提交
27398deac4
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      skript_index/pruefung.py

+ 2
- 1
skript_index/pruefung.py 查看文件

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

Loading…
取消
儲存