commit 98dd8647d437d955f9a97ad49f1a76f9a5bd11ec
parent f03917c2910595fb0f06f1ecbece945ff625e10c
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Mon, 13 Feb 2017 21:24:42 +0100
Remove old files and try to finally get rid of the '
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/__init__.py b/__init__.py
@@ -115,7 +115,10 @@ def _screencap(url, args_filepath, filepath, filename, bot, event, arguments):
if status:
response_file = yield from _open_file(arguments['portalinfoResponse'], 'r')
response = yield from readline(response_file)
- yield from bot.coro_send_message(event.conv.id_, '{!r}'.format(response))
+ yield from bot.coro_send_message(event.conv.id_, response.replace("'", ""))
+ os.unlink(filepath)
+ os.unlink(args_filepath)
+ os.unlink(arguments['portalinfoResponse'])
def setintel(bot, event, *args):
"""set url for current converation for the intel or iitc command.