mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 21:29:43 +00:00
ensure we have the correct magic (#289)
This commit is contained in:
@@ -281,6 +281,8 @@ def dependencies_met():
|
||||
assert(magic)
|
||||
except ImportError:
|
||||
raise Exception(err.format('python-magic'))
|
||||
if not hasattr(magic, 'from_file'):
|
||||
raise Exception(err.format('python-magic'))
|
||||
try:
|
||||
from docopt import docopt
|
||||
assert(docopt)
|
||||
|
||||
Reference in New Issue
Block a user