mirror of
https://github.com/noDRM/DeDRM_tools
synced 2024-12-28 22:24:27 +01:00
tools v3.8
version 2 - a minor change to one script.
This commit is contained in:
parent
4163d5ccf4
commit
529dd3f160
5 changed files with 24 additions and 4 deletions
Binary file not shown.
|
@ -231,6 +231,9 @@ def main(argv=sys.argv):
|
||||||
|
|
||||||
# try with built in Kindle Info files
|
# try with built in Kindle Info files
|
||||||
k4 = True
|
k4 = True
|
||||||
|
if sys.platform.startswith('linux'):
|
||||||
|
k4 = False
|
||||||
|
kInfoFiles = None
|
||||||
infile = args[0]
|
infile = args[0]
|
||||||
outdir = args[1]
|
outdir = args[1]
|
||||||
|
|
||||||
|
@ -267,6 +270,8 @@ if not __name__ == "__main__" and inCalibre:
|
||||||
import mobidedrm
|
import mobidedrm
|
||||||
|
|
||||||
k4 = True
|
k4 = True
|
||||||
|
if sys.platform.startswith('linux'):
|
||||||
|
k4 = False
|
||||||
pids = []
|
pids = []
|
||||||
serials = []
|
serials = []
|
||||||
kInfoFiles = []
|
kInfoFiles = []
|
||||||
|
@ -366,4 +371,4 @@ if not __name__ == "__main__" and inCalibre:
|
||||||
return of.name
|
return of.name
|
||||||
|
|
||||||
def customization_help(self, gui=False):
|
def customization_help(self, gui=False):
|
||||||
return 'Enter 10 character PIDs and/or Kindle serial numbers, separated by commas.'
|
return 'Enter 10 character PIDs and/or Kindle serial numbers, separated by commas.'
|
|
@ -231,6 +231,9 @@ def main(argv=sys.argv):
|
||||||
|
|
||||||
# try with built in Kindle Info files
|
# try with built in Kindle Info files
|
||||||
k4 = True
|
k4 = True
|
||||||
|
if sys.platform.startswith('linux'):
|
||||||
|
k4 = False
|
||||||
|
kInfoFiles = None
|
||||||
infile = args[0]
|
infile = args[0]
|
||||||
outdir = args[1]
|
outdir = args[1]
|
||||||
|
|
||||||
|
@ -267,6 +270,8 @@ if not __name__ == "__main__" and inCalibre:
|
||||||
import mobidedrm
|
import mobidedrm
|
||||||
|
|
||||||
k4 = True
|
k4 = True
|
||||||
|
if sys.platform.startswith('linux'):
|
||||||
|
k4 = False
|
||||||
pids = []
|
pids = []
|
||||||
serials = []
|
serials = []
|
||||||
kInfoFiles = []
|
kInfoFiles = []
|
||||||
|
@ -366,4 +371,4 @@ if not __name__ == "__main__" and inCalibre:
|
||||||
return of.name
|
return of.name
|
||||||
|
|
||||||
def customization_help(self, gui=False):
|
def customization_help(self, gui=False):
|
||||||
return 'Enter 10 character PIDs and/or Kindle serial numbers, separated by commas.'
|
return 'Enter 10 character PIDs and/or Kindle serial numbers, separated by commas.'
|
|
@ -231,6 +231,9 @@ def main(argv=sys.argv):
|
||||||
|
|
||||||
# try with built in Kindle Info files
|
# try with built in Kindle Info files
|
||||||
k4 = True
|
k4 = True
|
||||||
|
if sys.platform.startswith('linux'):
|
||||||
|
k4 = False
|
||||||
|
kInfoFiles = None
|
||||||
infile = args[0]
|
infile = args[0]
|
||||||
outdir = args[1]
|
outdir = args[1]
|
||||||
|
|
||||||
|
@ -267,6 +270,8 @@ if not __name__ == "__main__" and inCalibre:
|
||||||
import mobidedrm
|
import mobidedrm
|
||||||
|
|
||||||
k4 = True
|
k4 = True
|
||||||
|
if sys.platform.startswith('linux'):
|
||||||
|
k4 = False
|
||||||
pids = []
|
pids = []
|
||||||
serials = []
|
serials = []
|
||||||
kInfoFiles = []
|
kInfoFiles = []
|
||||||
|
@ -366,4 +371,4 @@ if not __name__ == "__main__" and inCalibre:
|
||||||
return of.name
|
return of.name
|
||||||
|
|
||||||
def customization_help(self, gui=False):
|
def customization_help(self, gui=False):
|
||||||
return 'Enter 10 character PIDs and/or Kindle serial numbers, separated by commas.'
|
return 'Enter 10 character PIDs and/or Kindle serial numbers, separated by commas.'
|
|
@ -231,6 +231,9 @@ def main(argv=sys.argv):
|
||||||
|
|
||||||
# try with built in Kindle Info files
|
# try with built in Kindle Info files
|
||||||
k4 = True
|
k4 = True
|
||||||
|
if sys.platform.startswith('linux'):
|
||||||
|
k4 = False
|
||||||
|
kInfoFiles = None
|
||||||
infile = args[0]
|
infile = args[0]
|
||||||
outdir = args[1]
|
outdir = args[1]
|
||||||
|
|
||||||
|
@ -267,6 +270,8 @@ if not __name__ == "__main__" and inCalibre:
|
||||||
import mobidedrm
|
import mobidedrm
|
||||||
|
|
||||||
k4 = True
|
k4 = True
|
||||||
|
if sys.platform.startswith('linux'):
|
||||||
|
k4 = False
|
||||||
pids = []
|
pids = []
|
||||||
serials = []
|
serials = []
|
||||||
kInfoFiles = []
|
kInfoFiles = []
|
||||||
|
@ -366,4 +371,4 @@ if not __name__ == "__main__" and inCalibre:
|
||||||
return of.name
|
return of.name
|
||||||
|
|
||||||
def customization_help(self, gui=False):
|
def customization_help(self, gui=False):
|
||||||
return 'Enter 10 character PIDs and/or Kindle serial numbers, separated by commas.'
|
return 'Enter 10 character PIDs and/or Kindle serial numbers, separated by commas.'
|
Loading…
Reference in a new issue