switched from check_output to check_call
This commit is contained in:
parent
a0295f8f5a
commit
41ababd056
1 changed files with 3 additions and 3 deletions
6
knock
6
knock
|
@ -26,7 +26,7 @@ if not args.adobe_dir.exists():
|
||||||
password = getpass("Enter your Adobe account's password: ")
|
password = getpass("Enter your Adobe account's password: ")
|
||||||
print('Registering this device with Adobe...')
|
print('Registering this device with Adobe...')
|
||||||
|
|
||||||
subprocess.check_output([
|
subprocess.check_call([
|
||||||
'activate',
|
'activate',
|
||||||
'-u', email,
|
'-u', email,
|
||||||
'-p', password,
|
'-p', password,
|
||||||
|
@ -35,7 +35,7 @@ if not args.adobe_dir.exists():
|
||||||
|
|
||||||
print('Downloading the EPUB file from Adobe...')
|
print('Downloading the EPUB file from Adobe...')
|
||||||
|
|
||||||
subprocess.check_output([
|
subprocess.check_call([
|
||||||
'acsmdownloader',
|
'acsmdownloader',
|
||||||
'-d', str(args.adobe_dir.joinpath('device.xml')),
|
'-d', str(args.adobe_dir.joinpath('device.xml')),
|
||||||
'-a', str(args.adobe_dir.joinpath('activation.xml')),
|
'-a', str(args.adobe_dir.joinpath('activation.xml')),
|
||||||
|
@ -46,7 +46,7 @@ subprocess.check_output([
|
||||||
|
|
||||||
print('Decrypting the file...')
|
print('Decrypting the file...')
|
||||||
|
|
||||||
subprocess.check_output([
|
subprocess.check_call([
|
||||||
'inept-epub',
|
'inept-epub',
|
||||||
str(args.adobe_dir.joinpath('activation.xml')),
|
str(args.adobe_dir.joinpath('activation.xml')),
|
||||||
str(args.drm_file),
|
str(args.drm_file),
|
||||||
|
|
Loading…
Reference in a new issue