OS X Build script and 'add subscription from address book' option #225

Merged
Atheros1 merged 14 commits from master into master 2013-06-19 19:16:58 +02:00
Showing only changes of commit 06ca8625f5 - Show all commits

View File

@ -51,7 +51,7 @@ def lookupAppdataFolder():
return dataFolder return dataFolder
def isAddressInMyAddressBook(address): def isAddressInMyAddressBook(address):
t = (addBMIfNotPresent(address,)) t = (address,)
sqlLock.acquire() sqlLock.acquire()
sqlSubmitQueue.put('''select address from addressbook where address=?''') sqlSubmitQueue.put('''select address from addressbook where address=?''')
sqlSubmitQueue.put(t) sqlSubmitQueue.put(t)
@ -61,7 +61,7 @@ def isAddressInMyAddressBook(address):
#At this point we should really just have a isAddressInMy(book, address)... #At this point we should really just have a isAddressInMy(book, address)...
def isAddressInMySubscriptionsList(address): def isAddressInMySubscriptionsList(address):
t = (addBMIfNotPresent(address),) t = (address,)
sqlLock.acquire() sqlLock.acquire()
sqlSubmitQueue.put('''select * from subscriptions where address=?''') sqlSubmitQueue.put('''select * from subscriptions where address=?''')
sqlSubmitQueue.put(t) sqlSubmitQueue.put(t)