Skip to content

Commit ba38086

Browse files
authored
Add missing io import in log.py (#1326)
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
1 parent 43c512a commit ba38086

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

patches/log.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import io
12
import logging
23
import os
34

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

132-
Log._static_init()
133+
Log._static_init()

0 commit comments

Comments
 (0)