diff --git a/geruecht/controller/emailController.py b/geruecht/controller/emailController.py index 23882d8..b11eb40 100644 --- a/geruecht/controller/emailController.py +++ b/geruecht/controller/emailController.py @@ -30,10 +30,10 @@ class EmailController(): msg = MIMEMultipart() msg['From'] = self.email msg['To'] = user.mail - msg['Subject'] = Header('Gerücht, bezahle deine ￿Schulden!', 'utf-8') + msg['Subject'] = Header('Gerücht, bezahle deine Schulden!', 'utf-8') sum = user.getGeruecht(datetime.now().year).getSchulden() if sum < 0: - type = '￿Schulden' + type = 'Schulden' add = 'Bezahle diese umgehend an den Finanzer.' else: type = 'Guthaben' @@ -46,4 +46,4 @@ class EmailController(): LOGGER.debug("Sended email to {}. {}".format(user.uid, {'error': False, 'user': {'userId': user.uid, 'firstname': user.firstname, 'lastname': user.lastname}})) return {'error': False, 'user': {'userId': user.uid, 'firstname': user.firstname, 'lastname': user.lastname}} except Exception: - return {'error': True, 'user': {'userId': user.uid, 'firstname': user.firstname, 'lastname': user.lastname}} \ No newline at end of file + return {'error': True, 'user': {'userId': user.uid, 'firstname': user.firstname, 'lastname': user.lastname}}