mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-19 20:48:31 +02:00
guard override application
This commit is contained in:
parent
1578fef220
commit
9ac21b8448
1 changed files with 3 additions and 3 deletions
|
@ -16,6 +16,7 @@ from .editor import get_text_from_editor
|
|||
from .editor import get_text_from_stdin
|
||||
from .exception import UserAbort
|
||||
from . import time
|
||||
from .override import apply_overrides
|
||||
|
||||
|
||||
def run(args):
|
||||
|
@ -51,9 +52,8 @@ def run(args):
|
|||
|
||||
# Apply config overrides
|
||||
overrides = args.config_override
|
||||
from .override import apply_overrides
|
||||
|
||||
config = apply_overrides(overrides, config)
|
||||
if overrides:
|
||||
config = apply_overrides(overrides, config)
|
||||
|
||||
# --- All the standalone commands are now done --- #
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue