소스 검색

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…
취소
저장