[gsoc-admin] email.py: Adapt afranke's main script
- From: Lasse Schuirmann <lschuirma src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gsoc-admin] email.py: Adapt afranke's main script
- Date: Wed, 12 Aug 2015 18:21:52 +0000 (UTC)
commit 26d1d15c9f5a5009d1d119d11d1607efb4d717bf
Author: Lasse Schuirmann <lasse schuirmann gmail com>
Date: Wed Aug 12 20:21:22 2015 +0200
email.py: Adapt afranke's main script
Forgot this but was already pushed. Sorry :/
maillib/email.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/maillib/email.py b/maillib/email.py
index 72ec1bb..8a2f3f3 100755
--- a/maillib/email.py
+++ b/maillib/email.py
@@ -43,6 +43,6 @@ class EmailTemplate:
if __name__ == '__main__':
template_file = open('../data/templates/foo')
template_text = template_file.read()
- template = EmailTemplate(template_text, None)
+ template = EmailTemplate(template_text, None, None)
format_dict = {'student_name': 'Rupert Monkey'}
print(template.get_specific(format_dict))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]