commit 7bed487f5392cf2dbf99050827c9fded9cf15fd3
parent 7fbe41e982da7577a04dc793ee7af879589d7134
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Tue, 15 Nov 2016 18:59:08 +0100
Just wait 3 seconds. something seems not to work
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/__init__.py b/__init__.py
@@ -112,6 +112,7 @@ def _screencap(maptype, url, filepath, filename, SACSID, CSRF, plugins, search,
exitcode, stdout = yield from task
# read the resulting file into a byte array
+ yield from asyncio.sleep(3)
file_resource = yield from _open_file(filepath)
file_data = yield from loop.run_in_executor(None, file_resource.read)
image_data = yield from loop.run_in_executor(None, io.BytesIO, file_data)