koleo-cli 0.2.137.13__tar.gz → 0.2.137.15__tar.gz

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.

@@ -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 !
@@ -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 !
@@ -14,7 +14,7 @@ def parse_requirements_file(path):
14
14
 
15
15
  setuptools.setup(
16
16
  name="koleo-cli",
17
- version="0.2.137.13",
17
+ version="0.2.137.15",
18
18
  description="Koleo CLI",
19
19
  long_description=long_description(),
20
20
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes