tools v3.8

version 2 - a minor change to one script.
This commit is contained in:
Apprentice Alf 2011-04-01 17:54:18 +01:00
parent 4163d5ccf4
commit 529dd3f160
5 changed files with 24 additions and 4 deletions

View File

@ -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.'

View File

@ -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.'

View File

@ -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.'

View File

@ -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.'