mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-06 00:16:13 +02:00
Fix copypasta
This commit is contained in:
parent
2894118d7c
commit
80072b5b3d
1 changed files with 1 additions and 2 deletions
|
@ -20,7 +20,6 @@ import yaml
|
|||
from jrnl import Journal
|
||||
from jrnl import __version__
|
||||
from jrnl import plugins
|
||||
from jrnl import config
|
||||
from jrnl.cli import cli
|
||||
from jrnl.config import load_config
|
||||
from jrnl.os_compat import on_windows
|
||||
|
@ -578,7 +577,7 @@ def config_var(context, key, value="", journal=None):
|
|||
if journal:
|
||||
configuration = configuration["journals"][journal]
|
||||
|
||||
assert key in config
|
||||
assert key in configuration
|
||||
assert configuration[key] == value
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue