|
@ -145,7 +145,7 @@ def description(): |
|
|
session["id"].append(itemid) |
|
|
session["id"].append(itemid) |
|
|
for file in datafromjson: |
|
|
for file in datafromjson: |
|
|
if file.lower().endswith(('.html')): |
|
|
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 = f.read() |
|
|
textfile = Markup(textfile) |
|
|
textfile = Markup(textfile) |
|
|
textfiles.append(textfile) |
|
|
textfiles.append(textfile) |
|
@ -207,16 +207,16 @@ def get_file(): |
|
|
prev = None |
|
|
prev = None |
|
|
wholestringy = None |
|
|
wholestringy = None |
|
|
|
|
|
|
|
|
print("veryfirstnow : "+str(veryfirstnow)+"\n") |
|
|
# print("veryfirstnow : "+str(veryfirstnow)+"\n") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (word, time, uniqueid) in zip(wordpath,timelistforoperations, idlist): |
|
|
for (word, time, uniqueid) in zip(wordpath,timelistforoperations, idlist): |
|
|
print("word : "+word+"\n") |
|
|
# print("word : "+word+"\n") |
|
|
print("timeofclick : "+str(time)+"\n") |
|
|
# print("timeofclick : "+str(time)+"\n") |
|
|
print("============") |
|
|
# print("============") |
|
|
print(wordpath) |
|
|
# print(wordpath) |
|
|
print("============") |
|
|
# print("============") |
|
|
filler = int(uniqueid) |
|
|
filler = int(uniqueid) |
|
|
upperword = word.upper() |
|
|
upperword = word.upper() |
|
|
|
|
|
|
|
|