path => compare

This commit is contained in:
Emmanuel Garette 2019-07-26 16:39:49 +02:00
parent 7917fcabe5
commit 85fb384ab0
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class TiramisuHelpFormatter(RawDescriptionHelpFormatter):
compare = path.rsplit('.', 1)[1]
else:
compare = path
if name == path:
if name == compare:
return ''
return super().format_help()