little edit
This commit is contained in:
2
tjaf.py
2
tjaf.py
@@ -38,7 +38,7 @@ class Tja():
|
|||||||
self.humen_list = [[],[],[],[],[],[],[]]
|
self.humen_list = [[],[],[],[],[],[],[]]
|
||||||
|
|
||||||
current_level = 3
|
current_level = 3
|
||||||
for line in text.splitlines():
|
for line in self.text.splitlines():
|
||||||
if re.match("^[a-zA-Z0-9]+:",line):
|
if re.match("^[a-zA-Z0-9]+:",line):
|
||||||
key,value = line.split(":",1)
|
key,value = line.split(":",1)
|
||||||
if key not in ["COURSE","LEVEL","BALLOON","BALLOONNOR","BALLOONEXP","BALLOONMAS","SCOREINIT","SCOREDIFF","EXAM2"]:
|
if key not in ["COURSE","LEVEL","BALLOON","BALLOONNOR","BALLOONEXP","BALLOONMAS","SCOREINIT","SCOREDIFF","EXAM2"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user