remove extra elif
This commit is contained in:
parent
8335783e89
commit
e340b7ff0e
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue