projects
/
jiten-pai.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0392ba8
)
* For now leave the name of the config file in cfg[] when saving.
author
Urban Wallasch
<urban.wallasch@freenet.de>
Wed, 16 Jun 2021 03:45:35 +0000
(
05:45
+0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Wed, 16 Jun 2021 03:45:35 +0000
(
05:45
+0200)
jiten-pai.py
patch
|
blob
|
history
diff --git
a/jiten-pai.py
b/jiten-pai.py
index fed4f3980adafd0106cebc205b790bd792fcc083..93c64dd6b2c7e00d90116747f301d00dd14e48f4 100755
(executable)
--- a/
jiten-pai.py
+++ b/
jiten-pai.py
@@
-86,12
+86,12
@@
cfg = {
def _save_cfg():
try:
with open(cfg['cfgfile'], 'w') as cfgfile:
- cfg.pop('cfgfile', None)
+
#
cfg.pop('cfgfile', None)
json.dump(cfg, cfgfile, indent=2)
return
except Exception as e:
eprint(cfg['cfgfile'], str(e))
- cfg.pop('cfgfile', None)
+
#
cfg.pop('cfgfile', None)
cdirs = []
if os.environ.get('APPDATA'):
cdirs.append(os.environ.get('APPDATA'))