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: