Skip to content

Commit

Permalink
Return true/false from _check_unrar_tool so I can check it in my code
Browse files Browse the repository at this point in the history
  • Loading branch information
miigotu authored Jan 7, 2017
1 parent 3e54b22 commit 5985336
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rarfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2945,7 +2945,8 @@ def _check_unrar_tool():
TEST_ARGS = ALT_TEST_ARGS
except RarCannotExec:
# no usable tool, only uncompressed archives work
pass
return False
return True

_check_unrar_tool()

0 comments on commit 5985336

Please sign in to comment.