commit 15ca33b8f2ee97a05437ea870704025686f9bd50
parent d0d4ac9e930d99ff44a1ec07147e745b6267ee7f
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Wed, 16 Nov 2016 07:32:45 +0100
Work on fix for #3
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/__init__.py b/__init__.py
@@ -92,12 +92,12 @@ 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 + '"'
task = _get_lines(command)
- task = asyncio.wait_for(task, 240.0, loop=loop)
+ task = asyncio.wait_for(task, 420.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 + '"'
task = _get_lines(command)
- task = asyncio.wait_for(task, 240.0, loop=loop)
+ task = asyncio.wait_for(task, 420.0, loop=loop)
exitcode, stdout = yield from task
else:
if search == False: