mirror of
https://github.com/chubin/cheat.sh.git
synced 2026-06-20 13:16:44 +02:00
regression fix
This commit is contained in:
@@ -55,6 +55,9 @@ def match(paragraph, keyword, options=None, options_dict=None):
|
||||
For example: ~ssh~passphrase
|
||||
"""
|
||||
|
||||
if keyword is None:
|
||||
return True
|
||||
|
||||
if '~' in keyword:
|
||||
keywords = keyword.split('~')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user