Making else into elif

pull/8/head
sgoudham 4 years ago
parent 1337c6c193
commit 3f8a3ce312

@ -393,7 +393,7 @@ class HelpPaginator(Pages):
aliases = " | ".join(command.aliases) aliases = " | ".join(command.aliases)
if command.usage: if command.usage:
self.title = f"{command.qualified_name} | {aliases} {command.signature}" self.title = f"{command.qualified_name} | {aliases} {command.signature}"
else: elif command.signature:
self.title = f"{command.qualified_name} | {aliases} `{command.signature}`" self.title = f"{command.qualified_name} | {aliases} `{command.signature}`"
else: else:
self.title = f"{command.qualified_name} `{command.signature}`" self.title = f"{command.qualified_name} `{command.signature}`"

Loading…
Cancel
Save