avoid addr
This commit is contained in:
parent
9df5bda40c
commit
d874b222b9
|
@ -611,7 +611,8 @@ def handlech(c, stdscr):
|
||||||
label = t
|
label = t
|
||||||
# Prepend entry
|
# Prepend entry
|
||||||
subscriptions.reverse()
|
subscriptions.reverse()
|
||||||
subscriptions.append([label, addr, True])
|
# subscriptions.append([label, addr , True])
|
||||||
|
subscriptions.append([label, addrbook[abookcur][1], True])
|
||||||
subscriptions.reverse()
|
subscriptions.reverse()
|
||||||
|
|
||||||
sqlExecute("INSERT INTO subscriptions VALUES (?,?,?)", label, addr, True)
|
sqlExecute("INSERT INTO subscriptions VALUES (?,?,?)", label, addr, True)
|
||||||
|
@ -626,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, 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."))
|
||||||
|
|
Reference in New Issue
Block a user