From ffd06f946b2c6175ea15ba034a140f6c2b341937 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 11 May 2019 22:52:51 +0200 Subject: [PATCH] Fix formatting --- app.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app.py b/app.py index 9f5b112..3a01e3a 100644 --- a/app.py +++ b/app.py @@ -243,8 +243,7 @@ def _get_file_url(url, size, kind): @app.template_filter() def emojify(text): return emoji_unicode.replace( - text, - lambda e: EMOJI.format(filename=e.code_points, raw=e.unicode), + text, lambda e: EMOJI.format(filename=e.code_points, raw=e.unicode) ) @@ -315,8 +314,7 @@ def is_from_outbox(t): def clean(html): out = clean_html(html) return emoji_unicode.replace( - out, - lambda e: EMOJI.format(filename=e.code_points, raw=e.unicode), + out, lambda e: EMOJI.format(filename=e.code_points, raw=e.unicode) )