File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- # Autogenerated by nbprocess
1+ # Autogenerated by nbdev
22
33d = { 'settings' : { 'audience' : 'Developers' ,
44 'author' : 'Jeremy Howard' ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def dict2nb(js):
4343# %% ../nbs/01_nbio.ipynb 19
4444def read_nb (path ):
4545 "Return notebook at `path`"
46- res = dict2nb (Path (path ).read_json ())
46+ res = dict2nb (Path (path ).read_json (encoding = 'utf-8' ))
4747 res ['path_' ] = str (path )
4848 return res
4949
Original file line number Diff line number Diff line change 250250 {
251251 "data" : {
252252 "text/plain" : [
253- " ([<ast.Expr at 0x10f5174c0 >], <ast.Add at 0x10ccc8340 >)"
253+ " ([<ast.Expr at 0x107d476a0 >], <ast.Add at 0x105235ee0 >)"
254254 ]
255255 },
256256 "execution_count" : null ,
271271 " #|export\n " ,
272272 " def read_nb(path):\n " ,
273273 " \" Return notebook at `path`\"\n " ,
274- " res = dict2nb(Path(path).read_json())\n " ,
274+ " res = dict2nb(Path(path).read_json(encoding='utf-8' ))\n " ,
275275 " res['path_'] = str(path)\n " ,
276276 " return res"
277277 ]
You can’t perform that action at this time.
0 commit comments