printcolored 2.3.2__tar.gz → 2.3.3__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.
- {printcolored-2.3.2 → printcolored-2.3.3}/PKG-INFO +1 -1
- {printcolored-2.3.2 → printcolored-2.3.3}/printColored/core.py +2 -2
- {printcolored-2.3.2 → printcolored-2.3.3}/printcolored.egg-info/PKG-INFO +1 -1
- {printcolored-2.3.2 → printcolored-2.3.3}/pyproject.toml +1 -1
- {printcolored-2.3.2 → printcolored-2.3.3}/printColored/FD.py +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/printColored/Fonter.py +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/printColored/__init__.py +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/printColored/__main__.py +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/printColored/display.py +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/printColored/formats.py +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/printColored/guide.py +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/printcolored.egg-info/SOURCES.txt +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/printcolored.egg-info/dependency_links.txt +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/printcolored.egg-info/requires.txt +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/printcolored.egg-info/top_level.txt +0 -0
- {printcolored-2.3.2 → printcolored-2.3.3}/setup.cfg +0 -0
|
@@ -85,10 +85,10 @@ def _single_code(fformat: str, *, html_view: str = "", source_order: tuple[str,
|
|
|
85
85
|
return fformat
|
|
86
86
|
for source in source_order:
|
|
87
87
|
if source == "ansi_format":
|
|
88
|
-
if fformat
|
|
88
|
+
if fformat in ansi_formats:
|
|
89
89
|
return ansi_formats.get(fformat)
|
|
90
90
|
elif source == "rgb_format":
|
|
91
|
-
if fformat
|
|
91
|
+
if fformat in html_colors:
|
|
92
92
|
return str("38;2;" if html_view != "bg" else "48;2;") + html_colors.get(fformat)
|
|
93
93
|
elif source == "custom_format":
|
|
94
94
|
if fformat in custom_formats:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|