valetudo-map-parser 0.1.10rc3__py3-none-any.whl → 0.1.10rc4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -612,7 +612,8 @@ async def async_resize_image(params: ResizeParams):
612
612
  if params.aspect_ratio == "None":
613
613
  return params.pil_img
614
614
  if params.aspect_ratio != "None":
615
- wsf, hsf = [int(x) for x in params.aspect_ratio.split(":")]
615
+ ratio = params.aspect_ratio.replace(",", ":").replace(" ", "")
616
+ wsf, hsf = [int(x) for x in ratio.split(":")]
616
617
 
617
618
  if wsf == 0 or hsf == 0 or params.width <= 0 or params.height <= 0:
618
619
  LOGGER.warning(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: valetudo-map-parser
3
- Version: 0.1.10rc3
3
+ Version: 0.1.10rc4
4
4
  Summary: A Python library to parse Valetudo map data returning a PIL Image object.
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -20,7 +20,7 @@ valetudo_map_parser/config/shared.py,sha256=lvO3gz7aIVNCJ_K27S2Eh2yZcc5vdHI3WNG1
20
20
  valetudo_map_parser/config/status_text/status_text.py,sha256=PaynYW11vXH_vhDxhZrR9j-xeDrCxbB6YQQtN-kcaxQ,4052
21
21
  valetudo_map_parser/config/status_text/translations.py,sha256=mmPbJkl_2A59w49wnesQf3ocXqwZxBsrqNX-yt5FSCQ,9132
22
22
  valetudo_map_parser/config/types.py,sha256=WfmTy8gPFU45ILLgqY20xeblHHmoWzeyVlPTD-N_cdo,17395
23
- valetudo_map_parser/config/utils.py,sha256=GG3WGgSK6W8XRTa2dpA3eEmQDc4tWgKq7Bbqf1SOpAM,36489
23
+ valetudo_map_parser/config/utils.py,sha256=c4IYC8K1vLE7ygpn2QrWW1IwQCnbanOds7HxzXGVYlI,36546
24
24
  valetudo_map_parser/hypfer_draw.py,sha256=4zajujSOvtpRI_GMlmlioM3mDo19MvuOP861LhZmVlw,22495
25
25
  valetudo_map_parser/hypfer_handler.py,sha256=bGqeOyrBp8swJAXnMlIqlpYaS4yf98F_qwoKe1ksu4Y,20607
26
26
  valetudo_map_parser/hypfer_rooms_handler.py,sha256=NkpOA6Gdq-2D3lLAxvtNuuWMvPXHxeMY2TO5RZLSHlU,22652
@@ -29,8 +29,8 @@ valetudo_map_parser/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
29
29
  valetudo_map_parser/rand256_handler.py,sha256=tWTxWef-FTIs4XaEy7W-m88ABQYC8xPZUZFrBBCE2Rk,21603
30
30
  valetudo_map_parser/reimg_draw.py,sha256=a93UPwcVl5y9mXMY5DsNWD4_pXzm1QhC_n_WOokhEAE,12534
31
31
  valetudo_map_parser/rooms_handler.py,sha256=tE8BrXcdL0SeFAYsdFvjR3NVDfDi2RPKnXw9jD1e5k8,17494
32
- valetudo_map_parser-0.1.10rc3.dist-info/METADATA,sha256=ngK2oSwoYYlvLyWbXBheMS-0-G6T7I7OjCBDpVoXTbc,3404
33
- valetudo_map_parser-0.1.10rc3.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
34
- valetudo_map_parser-0.1.10rc3.dist-info/licenses/LICENSE,sha256=Lh-qBbuRV0-jiCIBhfV7NgdwFxQFOXH3BKOzK865hRs,10480
35
- valetudo_map_parser-0.1.10rc3.dist-info/licenses/NOTICE.txt,sha256=5lTOuWiU9aiEnJ2go8sc7lTJ7ntMBx0g0GFnNrswCY4,2533
36
- valetudo_map_parser-0.1.10rc3.dist-info/RECORD,,
32
+ valetudo_map_parser-0.1.10rc4.dist-info/METADATA,sha256=jo-faaNAehRXD708U1SjRa9GYuSewiy_uOYc8WcylKE,3404
33
+ valetudo_map_parser-0.1.10rc4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
34
+ valetudo_map_parser-0.1.10rc4.dist-info/licenses/LICENSE,sha256=Lh-qBbuRV0-jiCIBhfV7NgdwFxQFOXH3BKOzK865hRs,10480
35
+ valetudo_map_parser-0.1.10rc4.dist-info/licenses/NOTICE.txt,sha256=5lTOuWiU9aiEnJ2go8sc7lTJ7ntMBx0g0GFnNrswCY4,2533
36
+ valetudo_map_parser-0.1.10rc4.dist-info/RECORD,,