From a693baddb1252f1f6e0294faffd66445843a8352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20L=C3=A1szl=C3=B3?= <rlacko99@gmail.com> Date: Wed, 3 Feb 2021 19:36:02 +0100 Subject: [PATCH] fix production emails location --- src/common/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/email.py b/src/common/email.py index 7273ce6..9fbf335 100644 --- a/src/common/email.py +++ b/src/common/email.py @@ -7,7 +7,7 @@ link = 'https://ujonc.kszk.bme.hu/homework' def read_email(name): - with codecs.open('src/common/emails/' + name, 'r', 'utf-8') as myfile: + with codecs.open('common/emails/' + name, 'r', 'utf-8') as myfile: data = myfile.read() return data -- GitLab