commit 3215cc01c6149fa036bf3d321b1aeac77b1b619c
parent 4b33ab2681f85a045da206ed7f80d86a9ba429e2
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Fri, 11 Nov 2016 21:29:27 +0100
Update __init__.py
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/intel_screenbot/__init__.py b/intel_screenbot/__init__.py
@@ -35,7 +35,7 @@ def _screencap(url, filename, SACSID, CSRF, search, bot, event):
# but if we get nothing after 30 sec, just move on
loop = asyncio.get_event_loop()
for f in asyncio.as_completed(shell): # print in the order they finish
- print(await f)
+ print(f)
# read the resulting file into a byte array
file_resource = yield from _open_file(filename)
file_data = yield from loop.run_in_executor(None, file_resource.read)