Remove redundant variable.

This commit is contained in:
Arun Prakash Jana 2016-04-25 04:17:25 +05:30
parent 0fb89072d3
commit 7a0d98e09f
No known key found for this signature in database
GPG Key ID: C0A712ED95043DCB

7
buku
View File

@ -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: