commit a6541d1de7f65814d64814da9cc3c29741a57ba5
parent f8d66db0334be3ff92e0c9af4c0e027b6df52dd4
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Mon, 6 Mar 2017 20:07:50 +0100
Fix missing argument
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/__init__.py b/__init__.py
@@ -184,7 +184,7 @@ def portalpic(bot, event, *args):
try:
loop = asyncio.get_event_loop()
- image_data = yield from _screencap(url, args_filepath, filepath, filename, bot, event)
+ image_data = yield from _screencap(url, args_filepath, filepath, filename, bot, event, arguments)
except Exception as e:
yield from bot.coro_send_message(event.conv_id, "<i>error getting screenshot</i>")
logger.exception("screencap failed".format(url))