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 d0d4ac9e930d99ff44a1ec07147e745b6267ee7f
parent a2bc013a0a60e9c0364260718463a9a0076481e2
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Tue, 15 Nov 2016 22:26:42 +0100

Fix syntax
Diffstat:
M__init__.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/__init__.py b/__init__.py @@ -103,7 +103,7 @@ def _screencap(maptype, url, filepath, filename, SACSID, CSRF, plugins, search, if search == False: command = 'phantomjs hangupsbot/plugins/intel_screenbot/screencap_' + maptype + '.js "' + SACSID + '" "' + CSRF + '" "' + url + '" "' + filepath + '" "' + plugins + '"' task = _get_lines(command) - task = asyncio.wait_for(task, 240.0, loop=self.loop) + task = asyncio.wait_for(task, 240.0, loop=loop) exitcode, stdout = loop.run_until_complete(task) else: command = 'phantomjs hangupsbot/plugins/intel_screenbot/screencap_' + maptype + '.js "' + SACSID + '" "' + CSRF + '" "' + url + '" "' + filepath + '" "' + search + '" "' + plugins + '"'