remove extra elif

This commit is contained in:
Antonio J. Delgado 2024-11-11 16:42:34 +02:00
parent 8335783e89
commit e340b7ff0e

View file

@ -252,7 +252,7 @@ class NextcloudHandler:
if r.status_code == 200: if r.status_code == 200:
return r.json() return r.json()
elif r.status_code == 404: if r.status_code == 404:
self.error( self.error(
{ {
"action": "get", "action": "get",
@ -1021,7 +1021,7 @@ def show(ctx, name):
@click_config_file.configuration_option() @click_config_file.configuration_option()
@click.pass_context @click.pass_context
def ls(ctx): def ls(ctx):
'''Show all password''' '''List all password'''
ctx.obj['NcPasswordClient'].list_passwords() ctx.obj['NcPasswordClient'].list_passwords()
@cli.command() @cli.command()