Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Edit setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
themagiulio committed Feb 2, 2022
1 parent c6277a0 commit e1821a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='ashlog-cli',
version='0.0.6',
version='0.0.1',
author='Giulio De Matteis',
description='A simple command line interface for AshLog.',
long_description=long_description,
Expand Down
3 changes: 2 additions & 1 deletion src/ashlog/commands/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ def login():
def logout():
""" Remove credentials from keyring. """
if is_logged_in():
username = get_credential()[0]
keyring.delete_password(
'ashlog', keyring.get_credential('ashlog', None).username)
'ashlog', username)
else:
click.echo('You are not logged in.', err=True)

Expand Down

0 comments on commit e1821a7

Please sign in to comment.