From 7a0d98e09f280a2b48af00a9ecbc76a2bf3fa76e Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 25 Apr 2016 04:17:25 +0530 Subject: [PATCH] Remove redundant variable. --- buku | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/buku b/buku index cb6f1f1..3fe5b41 100755 --- a/buku +++ b/buku @@ -1250,11 +1250,10 @@ if args.sall is not None: # Replace a tag in DB if args.replace is not None: - keywords = args.replace - if keywords[1] == "none": - replaceTags(conn, cur, keywords[0], "") + if args.replace[1] == "none": + replaceTags(conn, cur, args.replace[0], "") else: - replaceTags(conn, cur, keywords[0], keywords[1]) + replaceTags(conn, cur, args.replace[0], args.replace[1]) # Update record if update == True: