Skip to content

Commit

Permalink
Fixing linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jossmoff committed Nov 9, 2023
1 parent 4666faa commit 6c6b016
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bookshelf/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,10 @@ def story_info_entry(story_name: str):
except KeyboardInterrupt:
pass


@bookshelf.command(name='cancel')
@click.argument('story_name', type=story_type)
def start_chapter_entry(story_name):
def cancel_chapter(story_name):
"""Cancel the current chapter of a story on your bookshelf"""
try:
if not bookshelf_storage.story_exists(story_name):
Expand Down

0 comments on commit 6c6b016

Please sign in to comment.