From 06ca8625f500009c77768a3a12f4495bdaa5a29f Mon Sep 17 00:00:00 2001 From: nimda Date: Thu, 13 Jun 2013 22:16:37 -0400 Subject: [PATCH] try to fix SQL error --- src/shared.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared.py b/src/shared.py index a5867026..8c6a834c 100644 --- a/src/shared.py +++ b/src/shared.py @@ -51,7 +51,7 @@ def lookupAppdataFolder(): return dataFolder def isAddressInMyAddressBook(address): - t = (addBMIfNotPresent(address,)) + t = (address,) sqlLock.acquire() sqlSubmitQueue.put('''select address from addressbook where address=?''') sqlSubmitQueue.put(t) @@ -61,7 +61,7 @@ def isAddressInMyAddressBook(address): #At this point we should really just have a isAddressInMy(book, address)... def isAddressInMySubscriptionsList(address): - t = (addBMIfNotPresent(address),) + t = (address,) sqlLock.acquire() sqlSubmitQueue.put('''select * from subscriptions where address=?''') sqlSubmitQueue.put(t)