Poprawka do skryptu.
This commit is contained in:
parent
6635ef4025
commit
985fd53535
@ -22,7 +22,7 @@
|
|||||||
" '\\n',\n",
|
" '\\n',\n",
|
||||||
" '![Logo 2](https://git.wmi.amu.edu.pl/AITech/Szablon/raw/branch/master/Logotyp_AITech2.jpg)']\n",
|
" '![Logo 2](https://git.wmi.amu.edu.pl/AITech/Szablon/raw/branch/master/Logotyp_AITech2.jpg)']\n",
|
||||||
" zerodict={'cell_type': 'markdown','metadata': {'collapsed': False},'source': zerocell}\n",
|
" zerodict={'cell_type': 'markdown','metadata': {'collapsed': False},'source': zerocell}\n",
|
||||||
" with open(filen, 'r+') as f:\n",
|
" with open(filen, 'r+',encoding='utf-8') as f:\n",
|
||||||
" ll=json.load(f)\n",
|
" ll=json.load(f)\n",
|
||||||
" ll[\"metadata\"][\"author\"]=author\n",
|
" ll[\"metadata\"][\"author\"]=author\n",
|
||||||
" ll[\"metadata\"][\"email\"]=email\n",
|
" ll[\"metadata\"][\"email\"]=email\n",
|
||||||
@ -107,4 +107,4 @@
|
|||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
"nbformat_minor": 4
|
"nbformat_minor": 4
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user