1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

minor html related fix

This commit is contained in:
Igor Chubin
2019-02-23 20:51:23 +00:00
parent e83fd89c8a
commit 7f2bf6cd2a
+2 -2
View File
@@ -25,8 +25,8 @@ def visualize(answer_data, request_options):
if len(answers) == 1:
repository_button = _github_button(answers[0]['topic_type'])
result = frontend.ansi.visualize(answer_data, request_options)
return _render_html(query, result, editable, repository_button, topics_list, request_options)
result, found = frontend.ansi.visualize(answer_data, request_options)
return _render_html(query, result, editable, repository_button, topics_list, request_options), found
def _github_button(topic_type):