it's alles goed

This commit is contained in:
zeroth 2019-05-25 00:26:28 +01:00
parent f469963470
commit 02bcc47576
2 changed files with 7 additions and 7 deletions

View File

@ -145,7 +145,7 @@ def description():
session["id"].append(itemid)
for file in datafromjson:
if file.lower().endswith(('.html')):
with open("static/"+file,"r", encoding='ISO-8859-1') as f:
with open("static/"+file,"r", encoding='utf-8') as f:
textfile = f.read()
textfile = Markup(textfile)
textfiles.append(textfile)
@ -207,16 +207,16 @@ def get_file():
prev = None
wholestringy = None
print("veryfirstnow : "+str(veryfirstnow)+"\n")
# print("veryfirstnow : "+str(veryfirstnow)+"\n")
for (word, time, uniqueid) in zip(wordpath,timelistforoperations, idlist):
print("word : "+word+"\n")
print("timeofclick : "+str(time)+"\n")
print("============")
print(wordpath)
print("============")
# print("word : "+word+"\n")
# print("timeofclick : "+str(time)+"\n")
# print("============")
# print(wordpath)
# print("============")
filler = int(uniqueid)
upperword = word.upper()