intel-screenbot

An Ingress Intel Map Bot for Hangoutsbot
git clone git://archive.git.mtrnord.blog/MTRNord/intel-screenbot.git
Log | Files | Refs | README | LICENSE

commit 2ccc78af70640ab8815aa3e1e75ad72b0da4e1fe
parent 94644fed75b6a18f931d74b29dae1d8d43dfda7d
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Sun, 13 Nov 2016 01:57:51 +0100

Don't send it as string
Diffstat:
M__init__.py | 4++--
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