We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 823e794 commit 2bf98fcCopy full SHA for 2bf98fc
extract_kindle.py
@@ -67,12 +67,12 @@ def main(*input_args):
67
deDRMed_azw_file.unlink() # Remove deDRMed file.
68
69
70
- resFile = [f for f in p.iterdir() if (f.suffix.lower() in ['.res'])]
+ res_files = [f for f in p.iterdir() if (f.suffix.lower() in ['.res'])]
71
72
- if len(resFile) == 1:
+ if len(res_files) == 1:
73
74
- print(f'Processing resource file {resFile[0]}..')
75
- DumpAZW6_py3.main(['DumpAZW6_py3.py', str(resFile[0])])
+ print(f'Processing resource file {res_files[0]}..')
+ DumpAZW6_py3.main(['DumpAZW6_py3.py', str(res_files[0])])
76
77
hd_images = [f for f in (p / 'azw6_images').iterdir() if f.suffix.lower() in ['.jpeg', '.jpg']]
78
for img in hd_images:
0 commit comments