Remove redundant variable.
This commit is contained in:
parent
0fb89072d3
commit
7a0d98e09f
7
buku
7
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:
|
||||
|
Loading…
Reference in New Issue
Block a user