From e69226ce3cf4e69fd33360d07b4d139f35fd12ef Mon Sep 17 00:00:00 2001 From: Beppe Vanrolleghem Date: Wed, 30 Nov 2022 15:45:35 +0100 Subject: [PATCH] Update main.py thx reinout --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b8c13a2..af7251f 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ class Root(object): def index(self, *args, **kwargs): answer = "" - with open('data.txt') as f: + with open('data.txt',encoding='utf8') as f: context = f.read() f.close()