Skip to content

Commit 6f50f78

Browse files
authored
Update kaggle_api_extended.py
add code change
1 parent 520e0a4 commit 6f50f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kaggle/api/kaggle_api_extended.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2041,7 +2041,7 @@ def kernels_pull(self, kernel, path, metadata=False, quiet=True):
20412041
script_path = effective_path
20422042
file_name = os.path.basename(effective_path)
20432043

2044-
with open(script_path, 'w') as f:
2044+
with open(script_path, 'w', encoding="utf-8") as f:
20452045
f.write(blob['source'])
20462046

20472047
if metadata:

0 commit comments

Comments
 (0)