commit f017ced50c45ccbe1b92d6495cd42d064633dd3e
parent 6005d750e7350dd30f42c592d835d481d4ce5770
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Sun, 13 Nov 2016 02:57:48 +0100
Fix args
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/__init__.py b/__init__.py
@@ -98,12 +98,12 @@ def _screencap(maptype, url, filepath, filename, SACSID, CSRF, plugins, search,
exitcode, stdout = yield from task
else:
if search == False:
- command = 'phantomjs hangupsbot/plugins/intel_screenbot/screencap_' + maptype + '.js "' + SACSID + '" "' + CSRF + '" "' + url + '" "' + filepath + '" ' + plugins
+ command = 'phantomjs hangupsbot/plugins/intel_screenbot/screencap_' + maptype + '.js "' + SACSID + '" "' + CSRF + '" "' + url + '" "' + filepath + '" "' + plugins + '"'
task = _get_lines(command)
task = asyncio.wait_for(task, 180.0, loop=self.loop)
exitcode, stdout = loop.run_until_complete(task)
else:
- command = 'phantomjs hangupsbot/plugins/intel_screenbot/screencap_' + maptype + '.js "' + SACSID + '" "' + CSRF + '" "' + url + '" "' + filepath + '" "' + search + '" ' + plugins
+ command = 'phantomjs hangupsbot/plugins/intel_screenbot/screencap_' + maptype + '.js "' + SACSID + '" "' + CSRF + '" "' + url + '" "' + filepath + '" "' + search + '" "' + plugins + '"'
task = _get_lines(command)
task = asyncio.wait_for(task, 180.0, loop=loop)
exitcode, stdout = yield from task