koleo-cli 0.2.137.13__py3-none-any.whl → 0.2.137.15__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.

Potentially problematic release.


This version of koleo-cli might be problematic. Click here for more details.

koleo/utils.py CHANGED
@@ -69,7 +69,10 @@ NUMERAL_TO_ARABIC = {
69
69
  }
70
70
 
71
71
 
72
- def convert_platform_number(number: str) -> int | None | str:
72
+ def convert_platform_number(number: str | None) -> int | None | str:
73
+ if number and number[-1] in "abcdefghi": # just to be safe...
74
+ arabic = NUMERAL_TO_ARABIC.get(number[:-1])
75
+ return f"{arabic}{number[-1]}" if arabic else None
73
76
  return NUMERAL_TO_ARABIC.get(number)
74
77
 
75
78
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: koleo-cli
3
- Version: 0.2.137.13
3
+ Version: 0.2.137.15
4
4
  Summary: Koleo CLI
5
5
  Home-page: https://github.com/lzgirlcat/koleo-cli
6
6
  Author: Zoey !
@@ -4,10 +4,10 @@ koleo/api.py,sha256=J05sdOg0S0VgcJNcmmoE8fYMKVVmtqkw5Sy88e-C91k,5713
4
4
  koleo/cli.py,sha256=o2Ixo9uegZ7VHL98SoV49Vn2U1VyBp2sqFFZGsbvBb0,24692
5
5
  koleo/storage.py,sha256=L31IrXxdWiGGOraVBdFeHc1Z-a2fNvyRn-uC7gJWe9E,2305
6
6
  koleo/types.py,sha256=pjVCIH39rUNeipazeRKOuTRCWoslLdbGivKiQmfd5Pw,5226
7
- koleo/utils.py,sha256=CsYWNf3IPhHJln445tzXSA7r2z3NpmqVSmw8Rrb7YT0,1822
8
- koleo_cli-0.2.137.13.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
9
- koleo_cli-0.2.137.13.dist-info/METADATA,sha256=tfDdMmERJgsghRGiM0O8yu_qjbawpD6EUb9FDyiSMeE,3096
10
- koleo_cli-0.2.137.13.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
11
- koleo_cli-0.2.137.13.dist-info/entry_points.txt,sha256=LtCidkVDq8Zd7-fxpRbys1Xa9LTHMZwXVbdcQEscdes,41
12
- koleo_cli-0.2.137.13.dist-info/top_level.txt,sha256=AlWdXotkRYzHpFfOBYi6xOXl1H0zq4-tqtZ2XivoWB4,6
13
- koleo_cli-0.2.137.13.dist-info/RECORD,,
7
+ koleo/utils.py,sha256=cpcFcEbgDOzPJ_gFr-JRKlKE61KnWZEgLX4p9rtfqNA,2006
8
+ koleo_cli-0.2.137.15.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
9
+ koleo_cli-0.2.137.15.dist-info/METADATA,sha256=IRMKtd_o63cwl4zQtmyyAGCz8EW9W9j_FfoYKdoFFk4,3096
10
+ koleo_cli-0.2.137.15.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
11
+ koleo_cli-0.2.137.15.dist-info/entry_points.txt,sha256=LtCidkVDq8Zd7-fxpRbys1Xa9LTHMZwXVbdcQEscdes,41
12
+ koleo_cli-0.2.137.15.dist-info/top_level.txt,sha256=AlWdXotkRYzHpFfOBYi6xOXl1H0zq4-tqtZ2XivoWB4,6
13
+ koleo_cli-0.2.137.15.dist-info/RECORD,,