From 5ed8a559dde96eeb4d7a0f4858dca8c0b8defb22 Mon Sep 17 00:00:00 2001 From: benton Date: Fri, 23 Jul 2021 11:33:48 -0500 Subject: [PATCH] removed a reduntant variable --- knock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/knock b/knock index f75cada..5eef841 100644 --- a/knock +++ b/knock @@ -13,7 +13,6 @@ args.acsm_file = Path(args.acsm_file).expanduser() args.drm_file = args.acsm_file.with_suffix('.drm.epub') args.epub_file = args.acsm_file.with_suffix('.epub') args.adobe_dir = Path('~/.config/knock').expanduser() -args.activation_file = args.adobe_dir.joinpath('activation.xml') if not args.acsm_file.exists(): raise Exception(f'{str(args.acsm_file)} does not exist.') @@ -49,7 +48,7 @@ print('Decrypting the file...') subprocess.check_output([ 'inept-epub', - str(args.activation_file), + str(args.adobe_dir.joinpath('activation.xml')), str(args.drm_file), str(args.epub_file) ])