dropbox_share: Remove unreachable `elif` branch.
Remove unReachable `elif` branch from `dbx_command`
method with checking whether the command is equal
to `help` because this check is performed
at the beginning of the method.
MODIFY
zulip_bots/zulip_bots/bots/dropbox_share/dropbox_share.py
zulip_bots/zulip_bots/bots/dropbox_share/dropbox_share.py
@@ -96,8 +96,6 @@ def dbx_command(client: Any, cmd: str) -> str:
m = re.match(regex, cmd_args)
if m:
return f(client, *m.groups())
- elif cmd_name == 'help':
- return get_help()
else:
return 'ERROR: ' + syntax_help(cmd_name)

dropbox_share: Remove unreachable `elif` branch.

Remove unReachable `elif` branch from `dbx_command`
method with checking whether the command is equal
to `help` because this check is performed
at the beginning of the method.