commit 13711698f50568aaae930471fa32da52b8695974
parent 822a753a6ddbcbbd2c57cbd69561434d9994df50
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Thu, 10 Nov 2016 23:05:13 +0100
Fix syntax
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/intel_screenbot/__init__.py b/intel_screenbot/__init__.py
@@ -39,7 +39,7 @@ def _screencap(url, filename, SACSID, CSRF, search, bot, event):
if out:
yield from bot.coro_send_message(event.conv_id, "<i>{}</i>".format(out))
loop = asyncio.get_event_loop()
- yield from asyncio.sleep(10
+ yield from asyncio.sleep(10)
# 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)