From ed678478f80c825f02c3c8d97cb4f51892d9901f Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 16 Oct 2019 09:34:30 +0200 Subject: [PATCH] fix labtour, remove credentials from client --- email_client.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/email_client.py b/email_client.py index a76e744..c444460 100644 --- a/email_client.py +++ b/email_client.py @@ -14,14 +14,6 @@ import time import glob from credentials import * -EMAIL_ACCOUNT = "bzigr02" -EMAIL_FOLDER = "INBOX" -EMAIL_ADDRESS = 'etho2020registration@biologie.uni-tuebingen.de' -EMAIL_REPLY = 'etho2020@biologie.uni-tuebingen.de' -SMTP_SERVER = 'smtpserv.uni-tuebingen.de' -IMAP_SERVER = 'mailserv.uni-tuebingen.de' -EMAIL_PSWD = "4npBaMv9" - PARTICIPANTS_FOLDER = 'participants' @@ -157,7 +149,7 @@ class Participation(object): @property def labtour(self): - return self._lab_tour.split(",") + return [] if len(self._lab_tour.strip()) == 0 else self._lab_tour.split(",") @property def valid(self):