commit a1293d9afbcfaba46a620048ed3b37a3e3d14b65
parent aa2d0fe5eb84c7137000627cc7b11313f003d195
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Fri, 11 Nov 2016 20:42:44 +0100
Fix another syntax problem
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/intel_screenbot/__init__.py b/intel_screenbot/__init__.py
@@ -30,7 +30,7 @@ def _screencap(url, filename, SACSID, CSRF, search, bot, event):
# make sure phantomjs has time to download/process the page
# but if we get nothing after 30 sec, just move on
loop = asyncio.get_event_loop()
- task = loop.create_task(process.communicate(timeout=30))
+ task = loop.create_task(process.communicate())
exitcode = yield from process.wait()
yield from loop.run_until_complete(task)
# read the resulting file into a byte array