URI: 
       tlabels plugin: response must be OK before we continue - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 1b346b1aeb5fb8b784956e3f31c0ac2355c56fe8
   DIR parent c2813c5b15f7c86cd2061a69c4a9c4dbb5aa2004
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Thu, 11 Sep 2014 08:42:10 +0200
       
       labels plugin: response must be OK before we continue
       
       Diffstat:
         M plugins/labels.py                   |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/plugins/labels.py b/plugins/labels.py
       t@@ -221,7 +221,8 @@ class Plugin(BasePlugin):
                connection = httplib.HTTPConnection(self.target_host)
                connection.request("GET", ("/api/wallets/%s/labels.json?auth_token=%s" % (self.wallet_id, self.auth_token())),"", {'Content-Type': 'application/json'})
                response = connection.getresponse()
       -        if response.reason == httplib.responses[httplib.NOT_FOUND]:
       +        if response.status != 200:
       +            print_error("Cannot retrieve labels:", response.status, response.reason)
                    return
                response = json.loads(response.read())
                if "error" in response: