Ensure consistent division.

This commit is contained in:
Dain Nilsson 2016-03-31 16:57:54 +02:00
parent ecff4646a5
commit 8b45bd941b
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@ and the input will thus have to be without any errors. Only supports numeric,
alphanumeric and byte encodings.
"""
from __future__ import division
__all__ = ['decode_qr_data']

View File

@ -28,7 +28,7 @@
Given an image, locates and parses the pixel data in QR codes.
"""
from __future__ import print_function
from __future__ import division
from yubioath.yubicommon.compat import byte2int
from collections import namedtuple