Commit f5a52c52 authored by André's avatar André Committed by Philipp Hörist

Remote control: remove undefined variable

parent 7447f33c
...@@ -583,7 +583,7 @@ class GajimRemote(Server): ...@@ -583,7 +583,7 @@ class GajimRemote(Server):
'account' 'account'
""" """
if not jid: if not jid:
raise dbus_support.MissingArgument() raise ValueError('jid is missing')
jid = self._get_real_jid(jid, account) jid = self._get_real_jid(jid, account)
try: try:
jid = helpers.parse_jid(jid) jid = helpers.parse_jid(jid)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment