|
|
|
@ -231,6 +231,9 @@ def main(argv=sys.argv):
|
|
|
|
|
|
|
|
|
|
# try with built in Kindle Info files
|
|
|
|
|
k4 = True
|
|
|
|
|
if sys.platform.startswith('linux'):
|
|
|
|
|
k4 = False
|
|
|
|
|
kInfoFiles = None
|
|
|
|
|
infile = args[0]
|
|
|
|
|
outdir = args[1]
|
|
|
|
|
|
|
|
|
@ -267,6 +270,8 @@ if not __name__ == "__main__" and inCalibre:
|
|
|
|
|
import mobidedrm
|
|
|
|
|
|
|
|
|
|
k4 = True
|
|
|
|
|
if sys.platform.startswith('linux'):
|
|
|
|
|
k4 = False
|
|
|
|
|
pids = []
|
|
|
|
|
serials = []
|
|
|
|
|
kInfoFiles = []
|
|
|
|
@ -366,4 +371,4 @@ if not __name__ == "__main__" and inCalibre:
|
|
|
|
|
return of.name
|
|
|
|
|
|
|
|
|
|
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.'
|