diff --git a/fishy/constants.py b/fishy/constants.py index 23455f5..efc26f9 100644 --- a/fishy/constants.py +++ b/fishy/constants.py @@ -8,4 +8,4 @@ lam2 = ("LibAddonMenu-2.0", "https://www.esoui.com/downloads/dl7/LibAddonMenu-2. fishyqr = ("FishyQR", "https://github.com/fishyboteso/FishyQR/releases/download/v1.2.0/FishyQR.zip", 120) libgps = ("LibGPS", "https://cdn.esoui.com/downloads/file601/LibGPS_3_0_3.zip", 30) -version = "0.5.11" +version = "0.5.12" diff --git a/fishy/engine/common/qr_detection.py b/fishy/engine/common/qr_detection.py index 42cb8a0..b995af1 100644 --- a/fishy/engine/common/qr_detection.py +++ b/fishy/engine/common/qr_detection.py @@ -41,7 +41,7 @@ def get_values_from_image(img): def parse_qr_code(code): if not code: return None - match = re.match(r'^(\d+\.\d+),(\d+\.\d+),(\d+),(\d+)$', code) + match = re.match(r'^(-?\d+\.\d+),(-?\d+\.\d+),(-?\d+),(\d+)$', code) if not match: logging.warning(f"qr code is not what was expected {code}") return None