Fix #1727 (import rarfile 4.0 fails on python3.5)

This commit is contained in:
Ozzieisaacs
2020-11-30 18:32:21 +01:00
parent eed2f0a430
commit 8515781564
3 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ feature_support = {
try:
import rarfile
feature_support['rar'] = True
except ImportError:
except (ImportError, SyntaxError):
feature_support['rar'] = False
try: