summaryrefslogtreecommitdiffstats
path: root/funcweb
diff options
context:
space:
mode:
Diffstat (limited to 'funcweb')
-rw-r--r--funcweb/funcweb/controllers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcweb/funcweb/controllers.py b/funcweb/funcweb/controllers.py
index 5fa6630..fc929d4 100644
--- a/funcweb/funcweb/controllers.py
+++ b/funcweb/funcweb/controllers.py
@@ -34,7 +34,7 @@ class Root(controllers.RootController):
def run(self, minion="*", module=None, method=None, arguments=None):
fc = Client(minion)
if arguments:
- results = getattr(getattr(fc, module), method)(arguments)
+ results = getattr(getattr(fc, module), method)(*arguments.split())
else:
results = getattr(getattr(fc, module), method)()
cmd = "%s.%s.%s(%s)" % (minion, module, method, arguments)