From cfd33175a690a0e8c8f926f4383f6c6d7b71d2f2 Mon Sep 17 00:00:00 2001
From: Jonathan Warren <git@jonwarren.org>
Date: Fri, 29 Mar 2013 13:13:05 -0400
Subject: [PATCH] syntax fix

---
 bitmessagemain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitmessagemain.py b/bitmessagemain.py
index 3b8c628f..dba45cb0 100755
--- a/bitmessagemain.py
+++ b/bitmessagemain.py
@@ -2098,7 +2098,7 @@ class singleWorker(QThread):
             sqlSubmitQueue.put((toripe,))
             queryreturn = sqlReturnQueue.get()
             sqlLock.release()
-            if queryreturn != '':
+            if queryreturn != []:
                 #We have the needed pubkey
                 self.sendMsg(toripe)
             else: