|
|
@ -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() |
|
|
|
|
|
|
|