[tor-commits] [bridgedb/develop] Fix typo in bridgedb.qrcodes.generateQR().

isis at torproject.org isis at torproject.org
Wed Feb 11 01:10:45 UTC 2015


commit 99f3b3f978dbacdfdf45bca8d7a6339e03d94af1
Author: Isis Lovecruft <isis at torproject.org>
Date:   Tue Feb 10 04:26:56 2015 +0000

    Fix typo in bridgedb.qrcodes.generateQR().
---
 lib/bridgedb/qrcodes.py |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/bridgedb/qrcodes.py b/lib/bridgedb/qrcodes.py
index 0aa1e8f..0b576e3 100644
--- a/lib/bridgedb/qrcodes.py
+++ b/lib/bridgedb/qrcodes.py
@@ -71,8 +71,7 @@ def generateQR(bridgelines, imageFormat=u'JPEG', bridgeSchema=False):
     except KeyError as error:
         logging.error(str(error))
         logging.debug(("It seems python-imaging doesn't understand how to "
-                       "save in the %s format.") % imgFormat)
+                       "save in the %s format.") % imageFormat)
     except Exception as error:
         logging.error(("There was an error while attempting to generate the "
                        "QRCode: %s") % str(error))
-





More information about the tor-commits mailing list