mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 09:08:32 +02:00
remove faulty conditional
This commit is contained in:
parent
ff1a8bf6e9
commit
c97e782904
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def upgrade_config(config):
|
|||
This essentially automatically ports jrnl installations if new config parameters are introduced in later
|
||||
versions."""
|
||||
missing_keys = set(default_config).difference(config)
|
||||
if missing_keys or config['version'] != __version__:
|
||||
if missing_keys:
|
||||
for key in missing_keys:
|
||||
config[key] = default_config[key]
|
||||
save_config(config)
|
||||
|
|
Loading…
Add table
Reference in a new issue