Custom options for Journal class to overwrite config

This commit is contained in:
Manuel Ebert 2012-04-05 13:30:58 +02:00
parent 2968bc5157
commit 52ea01a039

View file

@ -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