This commit is contained in:
s3goat 2018-09-20 18:05:51 +02:00 committed by GitHub
parent d874b222b9
commit 21aaab6c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -627,7 +627,7 @@ def handlech(c, stdscr):
sqlExecute("INSERT INTO addressbook VALUES (?,?)", t, addr) sqlExecute("INSERT INTO addressbook VALUES (?,?)", t, addr)
# Prepend entry # Prepend entry
addrbook.reverse() addrbook.reverse()
addrbook.append([t, addrbook[abookcur][1]) # addr]) addrbook.append([t, addrbook[abookcur][1]]) # addr])
addrbook.reverse() addrbook.reverse()
else: else:
scrollbox(d, unicode("The selected address is already in the Address Book.")) scrollbox(d, unicode("The selected address is already in the Address Book."))