From d5e2ba78083e5d12b36b39d979429047f8652b64 Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Thu, 5 Nov 2009 00:28:05 +0000 Subject: [PATCH] Fix double checks --- openlp/plugins/bibles/lib/manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openlp/plugins/bibles/lib/manager.py b/openlp/plugins/bibles/lib/manager.py index 575f5cb66..1b308571e 100644 --- a/openlp/plugins/bibles/lib/manager.py +++ b/openlp/plugins/bibles/lib/manager.py @@ -173,14 +173,14 @@ class BibleManager(object): nbible.save_meta(u'WEB', biblesource) # store the web id of the bible nbible.save_meta(u'bibleid', bibleid) - if proxyurl and proxyurl != u'': + if proxyurl: # store the proxy URL nbible.save_meta(u'proxy', proxyurl) nhttp.set_proxy(proxyurl) - if proxyid and proxyid != u'': + if proxyid: # store the proxy userid nbible.save_meta(u'proxyid', proxyid) - if proxypass and proxypass != u'': + if proxypass: # store the proxy password nbible.save_meta(u'proxypass', proxypass) return True