mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2026-06-18 14:02:48 +00:00
Compare commits
4 Commits
312f6bd836
...
258eb2f29f
| Author | SHA1 | Date | |
|---|---|---|---|
| 258eb2f29f | |||
| 3373d93874 | |||
| 413182b97b | |||
| 7e374cee3e |
@@ -374,7 +374,11 @@ class InterfacePluginAction(InterfaceAction):
|
||||
result['success'] = False
|
||||
result['fileobj'] = None
|
||||
|
||||
try:
|
||||
zin = zipfile.ZipFile(book.filename, 'r')
|
||||
except FileNotFoundError:
|
||||
print (_('{0} - File "{1}" not found. Make sure the eBook has been properly downloaded in the Kobo app.').format(PLUGIN_NAME, book.filename))
|
||||
return result
|
||||
#print ('Kobo library filename: {0}'.format(book.filename))
|
||||
for userkey in self.userkeys:
|
||||
print (_('Trying key: '), codecs.encode(userkey, 'hex'))
|
||||
|
||||
@@ -146,6 +146,7 @@ import inspect
|
||||
import tempfile
|
||||
import sqlite3
|
||||
import httplib
|
||||
import binascii
|
||||
|
||||
from decimal import Decimal
|
||||
import itertools
|
||||
|
||||
Reference in New Issue
Block a user