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
|
# Replace a tag in DB
|
||||||
if args.replace is not None:
|
if args.replace is not None:
|
||||||
keywords = args.replace
|
if args.replace[1] == "none":
|
||||||
if keywords[1] == "none":
|
replaceTags(conn, cur, args.replace[0], "")
|
||||||
replaceTags(conn, cur, keywords[0], "")
|
|
||||||
else:
|
else:
|
||||||
replaceTags(conn, cur, keywords[0], keywords[1])
|
replaceTags(conn, cur, args.replace[0], args.replace[1])
|
||||||
|
|
||||||
# Update record
|
# Update record
|
||||||
if update == True:
|
if update == True:
|
||||||
|
Loading…
Reference in New Issue
Block a user