commit 1f614896ed3442c8758e7ea10bef0c1fc366a4c1 Author: Philipp Winter phw@nymity.ch Date: Fri Feb 14 10:07:47 2020 -0800
Update documented return value.
The function is returning a bytes, and not a str. --- bridgedb/qrcodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bridgedb/qrcodes.py b/bridgedb/qrcodes.py index 6030a42..3cb3a89 100644 --- a/bridgedb/qrcodes.py +++ b/bridgedb/qrcodes.py @@ -33,8 +33,8 @@ def generateQR(bridgelines, imageFormat='JPEG', bridgeSchema=False): client. :param bool bridgeSchema: If ``True``, prepend ``'bridge://'`` to the beginning of each bridge line before QR encoding. - :rtype: str or ``None`` - :returns: The generated QRCode, as a string. + :rtype: bytes or ``None`` + :returns: The generated QRCode, as a bytes. """ logging.debug("Attempting to encode bridge lines into a QRCode...")