mirror of
https://github.com/ION606/ML-pipeline.git
synced 2026-05-14 21:06:54 +00:00
coloring fixes
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ def highlight_code(code: str, language: str = 'py') -> None:
|
||||
try:
|
||||
lexer = get_lexer_by_name(language)
|
||||
except ValueError:
|
||||
debugMod.log("Warning: Language not recognized. Printing without highlighting.")
|
||||
# debugMod.log("Warning: Language not recognized. Printing without highlighting.")
|
||||
return code
|
||||
|
||||
formatter = TerminalFormatter()
|
||||
|
||||
Reference in New Issue
Block a user