From 02bcc475768853ad561b71188642dc4e19a66626 Mon Sep 17 00:00:00 2001 From: zeroth Date: Sat, 25 May 2019 00:26:28 +0100 Subject: [PATCH] it's alles goed --- __pycache__/contextualise.cpython-35.pyc | Bin 6097 -> 5928 bytes contextualise.py | 14 +++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/__pycache__/contextualise.cpython-35.pyc b/__pycache__/contextualise.cpython-35.pyc index 4f4d91340481e7aba1634e957857a9049f5c2bfd..75c5968fa74b53b771e552a523f50437432a829b 100644 GIT binary patch delta 258 zcmYk0u}i~19EIQS&V<~>#7n%A*=!&skj^g5eG|z4wuCaX$Pm<+*@2F zlbe4*!PVU&2s-Oz+??L~;KBD^b{}>`7Dckq?}MX9@g{xmrYyGin{Qcj_RN~wc!l!O z56Tc0CQVX{G?J5RFiJu|JyLm9w&7!#;ef6YWNG0Yl_f=O`EUL$t0 lnYww>b2^>zSCY+Bx*-1)z_9P`bVegL(|g>{{bs2@*e@A&JM;hm delta 446 zcmY+9y-&hW6vfYN0coMMd|3tuWOD#fW5f>zje|}M3^?G#g9N{bwGkz4956xV_a_(= zSHu6{riq(zHz9FxaB}jsF%jPz?zz90bMCwMg_n87)HJmi8rN4Ily^0v?p7=LQfYZL zzcBhz2eOovM{X=YS9TaI3|odHqfaoI0#j7F*djXu2e1`5guaaJ{Q}ixxKX$o+!#Ek z3McyK@kqqa(*9+6Jn9h=N<{uDkI4e^TRlfl{88t{isXo)X_&4k5e$LTJUIp?+u9Al zfI|h=m=BGOq=q4301OB%2`mPt^H*bbN5O#($MnXzK{!F*6^8XKF_9Sb77)E})BvemZE?2}G6yOw<;wKvu6SWM_%%x)hyJFUi1 uyK(6C(elLMcKmKMlX#|34S==BKa(b1^KfcWmokAIB`8Cxe@Erihx7wkrC!ef diff --git a/contextualise.py b/contextualise.py index ba8e57d..36fd7ab 100644 --- a/contextualise.py +++ b/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()