Skip to content

Commit

Permalink
Merge pull request markokr#32 from miigotu/patch-1
Browse files Browse the repository at this point in the history
Return true/false from _check_unrar_tool so I can check it in my code
  • Loading branch information
markokr authored Jun 28, 2017
2 parents af4d0e9 + 5985336 commit fd478bf
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 fd478bf

Please sign in to comment.