Skip to content

Commit

Permalink
fix: raise proper exception
Browse files Browse the repository at this point in the history
  • Loading branch information
vn-ki committed Jul 17, 2019
1 parent a81315c commit 61e3f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anime_downloader/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _write_default_config(self):
if util.check_in_path('aria2c'):
DEFAULT_CONFIG['dl']['external_downloader'] = '{aria2}'
else:
raise("Aria2 is not in path. Please follow installation instructions: https://github.com/vn-ki/anime-downloader/wiki/Installation")
raise RuntimeError("Aria2 is not in path. Please follow installation instructions: https://github.com/vn-ki/anime-downloader/wiki/Installation")
self._write_config(DEFAULT_CONFIG)


Expand Down

0 comments on commit 61e3f2c

Please sign in to comment.