commit acd13173cf1027aaa0f14787f0a0bd9efff35e45
parent 27dc7ca805cf6772440e4fdf0a4a7e49090eb589
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Fri, 11 Nov 2016 20:38:08 +0100
Fix syntax
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(stdout, _ = yield from process.communicate(timeout=30))
+ task = loop.create_task(stdout, _ = process.communicate(timeout=30))
exitcode = yield from process.wait()
yield from loop.run_until_complete(task)
# read the resulting file into a byte array