From 41ababd056e89f5e18e68c45c3457c7d69ba8b2c Mon Sep 17 00:00:00 2001 From: benton Date: Sun, 25 Jul 2021 18:42:27 -0500 Subject: [PATCH] switched from check_output to check_call --- knock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/knock b/knock index 5eef841..2caf382 100644 --- a/knock +++ b/knock @@ -26,7 +26,7 @@ if not args.adobe_dir.exists(): password = getpass("Enter your Adobe account's password: ") print('Registering this device with Adobe...') - subprocess.check_output([ + subprocess.check_call([ 'activate', '-u', email, '-p', password, @@ -35,7 +35,7 @@ if not args.adobe_dir.exists(): print('Downloading the EPUB file from Adobe...') -subprocess.check_output([ +subprocess.check_call([ 'acsmdownloader', '-d', str(args.adobe_dir.joinpath('device.xml')), '-a', str(args.adobe_dir.joinpath('activation.xml')), @@ -46,7 +46,7 @@ subprocess.check_output([ print('Decrypting the file...') -subprocess.check_output([ +subprocess.check_call([ 'inept-epub', str(args.adobe_dir.joinpath('activation.xml')), str(args.drm_file),