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

fixed minor bug in lib/cheat_wrapper.py

This commit is contained in:
Igor Chubin
2018-06-03 19:43:39 +00:00
parent 7fe5034ee6
commit 0ad3f3e128
+1 -1
View File
@@ -74,7 +74,7 @@ def _colorize_internal(topic, answer, html_needed):
if topic in [':list', ':bash_completion']:
return answer
if topic == ':firstpage':
if topic == ':firstpage-v1':
lines = answer.splitlines()
answer_lines = lines[:9]
answer_lines.append(colored.fg('grey_35')+lines[9]+colored.attr('reset'))