From 588eb7250ee8968ce00ef0f5727afbcb92e015c0 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Thu, 4 Dec 2014 21:55:55 -0500 Subject: [PATCH] Fix xmpp change-hostname options. --- plinth/modules/xmpp/xmpp.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plinth/modules/xmpp/xmpp.py b/plinth/modules/xmpp/xmpp.py index fe4a21ef0..6d0df3689 100644 --- a/plinth/modules/xmpp/xmpp.py +++ b/plinth/modules/xmpp/xmpp.py @@ -203,6 +203,8 @@ def on_post_hostname_change(sender, old_hostname, new_hostname, **kwargs): del sender # Unused del kwargs # Unused - actions.superuser_run('xmpp', 'change-hostname', - '--old-hostname', old_hostname, - '--new-hostname', hostname, async=True) + actions.superuser_run('xmpp', + ['change-hostname', + '--old-hostname', old_hostname, + '--new-hostname', new_hostname], + async=True)