[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 99f3b3f978dbacdfdf45bca8d7a6339e03d94af1
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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))
-



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits