Remote control: remove undefined variable

This commit is contained in:
André Apitzsch 2018-07-24 21:49:01 +02:00 committed by Philipp Hörist
parent 7447f33c5e
commit f5a52c52b0
1 changed files with 1 additions and 1 deletions

View File

@ -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)