Skip to content

Commit

Permalink
fix smarteole_example.ipynb lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aclerc committed Jan 5, 2025
1 parent 9f4f20c commit 20d6287
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/smarteole_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"import logging\n",
"import re\n",
"\n",
"from IPython.display import Markdown, display\n",
"from IPython.display import Markdown\n",
"from IPython.display import display as ipdisplay\n",
"\n",
"logging.basicConfig(format=\"%(message)s\", level=logging.INFO)\n",
"\n",
Expand All @@ -72,7 +73,7 @@
" message = self.format(record)\n",
" # Replace newline characters with <br> tags\n",
" message = re.sub(r\"\\n\", \"<br>\", message)\n",
" display(Markdown(message))\n",
" ipdisplay(Markdown(message))\n",
"\n",
"\n",
"logger = logging.getLogger()\n",
Expand Down

0 comments on commit 20d6287

Please sign in to comment.