Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
IguanasInPyjamas committed Oct 15, 2020
1 parent 234e5c2 commit 64e9313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anime_downloader/commands/watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def command(anime_name, new, update_all, _list, quality, remove,
else:
query = click.prompt('Enter the file path for the MAL .xml file', type=str)

if PATH.endswith('.xml'):
if query.endswith('.xml'):
watcher._import_from_MAL(query)
sys.exit(0)
else:
Expand Down

0 comments on commit 64e9313

Please sign in to comment.