Poprawka do skryptu.

This commit is contained in:
BartN 2021-09-23 13:15:46 +02:00
parent 6635ef4025
commit 985fd53535

View File

@ -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",