Skip to content

Commit

Permalink
fix: make anime comamnd work
Browse files Browse the repository at this point in the history
  • Loading branch information
vn-ki committed Jul 23, 2019
1 parent 264b912 commit d5eb40f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions anime_downloader/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def list_commands(self, ctx):
commands_dir = os.path.join(os.path.dirname(__file__), 'commands')
rv = []
for filename in os.listdir(commands_dir):
if filename == '__init__.py':
continue
if filename.endswith('.py'):
rv.append(filename[:-3])
rv.sort()
Expand Down

0 comments on commit d5eb40f

Please sign in to comment.