diff frontends/src/jp/cmd_event.py @ 2299:a3cd2ac25d58

jp (event): added checkURI to InviteeGet and InviteeSet
author Goffi <goffi@goffi.org>
date Sun, 02 Jul 2017 20:09:24 +0200
parents c05000d00dbb
children 173d56315529
line wrap: on
line diff
--- a/frontends/src/jp/cmd_event.py	Sun Jul 02 20:09:21 2017 +0200
+++ b/frontends/src/jp/cmd_event.py	Sun Jul 02 20:09:24 2017 +0200
@@ -164,6 +164,7 @@
         self.host.quit()
 
     def start(self):
+        common.checkURI(self.args)
         self.host.bridge.eventInviteeGet(
             self.args.service,
             self.args.node,
@@ -184,6 +185,7 @@
                                  metavar=(u"KEY", u"VALUE"), help=_(u"configuration field to set"))
 
     def start(self):
+        common.checkURI(self.args)
         fields = dict(self.args.fields) if self.args.fields else {}
         self.host.bridge.eventInviteeSet(
             self.args.service,