mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Custom options for Journal class to overwrite config
This commit is contained in:
parent
2968bc5157
commit
52ea01a039
1 changed files with 2 additions and 1 deletions
3
jrnl.py
3
jrnl.py
|
@ -55,7 +55,8 @@ class Entry:
|
||||||
}
|
}
|
||||||
|
|
||||||
class Journal:
|
class Journal:
|
||||||
def __init__(self, config):
|
def __init__(self, config, **kwargs):
|
||||||
|
config.update(kwargs)
|
||||||
self.config = config
|
self.config = config
|
||||||
|
|
||||||
# Set up date parser
|
# Set up date parser
|
||||||
|
|
Loading…
Add table
Reference in a new issue