changeset 2223:c6c9a97ffebf

plugin invitations: fixed url_template check
author Goffi <goffi@goffi.org>
date Sun, 16 Apr 2017 17:57:40 +0200
parents bdc64c487e21
children 87fcd4a7c7e4
files src/plugins/plugin_misc_invitations.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_invitations.py	Sun Apr 16 17:55:10 2017 +0200
+++ b/src/plugins/plugin_misc_invitations.py	Sun Apr 16 17:57:40 2017 +0200
@@ -161,7 +161,7 @@
 
         self.checkExtra(extra)
 
-        if not 'url_template' in extra and not 'message_body' in extra:
+        if not 'url_template' in kwargs and not 'message_body' in kwargs:
             raise ValueError(_(u"You need to provide url_template if you use default message body"))