readabilite: write_all use "node" instead of "item"

master
pictuga 2017-07-17 00:13:15 +02:00
parent a61b259792
commit 386bafd391
1 changed files with 2 additions and 2 deletions

View File

@ -115,8 +115,8 @@ def score_all(root):
def write_score_all(root, grades):
for item in root.iter():
item.attrib['score'] = str(int(grades[item]))
for node in root.iter():
node.attrib['score'] = str(int(grades[node]))
def clean_html(root):