mirror of
https://github.com/no2chem/wideq.git
synced 2025-05-16 07:10:09 -07:00
Wrap error message to 79 characters
This commit is contained in:
parent
1655343027
commit
a1cd9795c6
@ -160,7 +160,8 @@ EXAMPLE_COMMANDS = {
|
||||
def example_command(client, cmd, args):
|
||||
func = EXAMPLE_COMMANDS.get(cmd)
|
||||
if not func:
|
||||
print("Invalid command: '{}' (use one of {})".format(cmd, ', '.join(EXAMPLE_COMMANDS)))
|
||||
print("Invalid command: '{}'.\n"
|
||||
"Use one of: {}".format(cmd, ', '.join(EXAMPLE_COMMANDS)))
|
||||
return
|
||||
func(client, *args)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user