Fix #1727 (import rarfile 4.0 fails on python3.5)
This commit is contained in:
@ -55,7 +55,7 @@ feature_support = {
|
||||
try:
|
||||
import rarfile
|
||||
feature_support['rar'] = True
|
||||
except ImportError:
|
||||
except (ImportError, SyntaxError):
|
||||
feature_support['rar'] = False
|
||||
|
||||
try:
|
||||
|
Reference in New Issue
Block a user