tools v6.0.7

This commit is contained in:
Apprentice Alf
2013-06-11 19:41:21 +01:00
parent 5a502dbce3
commit 74a4c894cb
21 changed files with 68 additions and 53 deletions

View File

@@ -188,7 +188,7 @@ def unescape(text):
def GetDecryptedBook(infile, kDatabases, serials, pids, starttime = time.time()):
# handle the obvious cases at the beginning
if not os.path.isfile(infile):
raise DRMException (u"Input file does not exist.")
raise DrmException(u"Input file does not exist.")
mobi = True
magic3 = open(infile,'rb').read(3)