Skip to content

Commit

Permalink
Add missing io import in log.py
Browse files Browse the repository at this point in the history
Fixes #1324.

We setup a custom logger for Kaggle kernels.

Some of this logic could be simplified now that we are using Python 3.8+. I filed b/312963888 for this.

b/312961350
  • Loading branch information
rosbo authored Nov 23, 2023
1 parent 43c512a commit 3b0be95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patches/log.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import io
import logging
import os

Expand Down Expand Up @@ -129,4 +130,4 @@ def _static_init():
logging.basicConfig(level=logging.INFO, handlers=[handler])
Log._initialized = True

Log._static_init()
Log._static_init()

0 comments on commit 3b0be95

Please sign in to comment.