mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2024-12-28 12:07:39 +06:00
Fix FileNotFoundError during PassHash handling
This commit is contained in:
parent
b84cf9aeb8
commit
b2b55531d3
@ -393,8 +393,11 @@ class DeDRM(FileTypePlugin):
|
|||||||
defaultkeys_ade = []
|
defaultkeys_ade = []
|
||||||
if iswindows:
|
if iswindows:
|
||||||
# Right now this is only implemented for Windows. MacOS support still needs to be added.
|
# Right now this is only implemented for Windows. MacOS support still needs to be added.
|
||||||
from adobekey_get_passhash import passhash_keys
|
from adobekey_get_passhash import passhash_keys, ADEPTError
|
||||||
defaultkeys_ade, names = passhash_keys()
|
try:
|
||||||
|
defaultkeys_ade, names = passhash_keys()
|
||||||
|
except ADEPTError:
|
||||||
|
defaultkeys_ade = []
|
||||||
if isosx:
|
if isosx:
|
||||||
print("{0} v{1}: Dumping ADE PassHash data is not yet supported on MacOS.".format(PLUGIN_NAME, PLUGIN_VERSION))
|
print("{0} v{1}: Dumping ADE PassHash data is not yet supported on MacOS.".format(PLUGIN_NAME, PLUGIN_VERSION))
|
||||||
defaultkeys_ade = []
|
defaultkeys_ade = []
|
||||||
|
Loading…
Reference in New Issue
Block a user