Browse Source

it's alles goed

master
zeroth 5 years ago
parent
commit
02bcc47576
  1. BIN
      __pycache__/contextualise.cpython-35.pyc
  2. 14
      contextualise.py

BIN
__pycache__/contextualise.cpython-35.pyc

Binary file not shown.

14
contextualise.py

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

Loading…
Cancel
Save