mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 04:58:32 +02:00
Run make format with latest version of black
This commit is contained in:
parent
3a6181984d
commit
d69b50dddb
3 changed files with 3 additions and 3 deletions
|
@ -87,7 +87,7 @@ def postconfig_encrypt(args, config, original_config, **kwargs):
|
||||||
|
|
||||||
|
|
||||||
def postconfig_decrypt(args, config, original_config, **kwargs):
|
def postconfig_decrypt(args, config, original_config, **kwargs):
|
||||||
""" Decrypts into new file. If filename is not set, we encrypt the journal file itself. """
|
"""Decrypts into new file. If filename is not set, we encrypt the journal file itself."""
|
||||||
from .Journal import PlainJournal
|
from .Journal import PlainJournal
|
||||||
from .Journal import open_journal
|
from .Journal import open_journal
|
||||||
from .config import update_config
|
from .config import update_config
|
||||||
|
|
|
@ -14,7 +14,7 @@ class UpgradeValidationException(Exception):
|
||||||
|
|
||||||
|
|
||||||
class JrnlError(Exception):
|
class JrnlError(Exception):
|
||||||
"""Common exceptions raised by jrnl. """
|
"""Common exceptions raised by jrnl."""
|
||||||
|
|
||||||
def __init__(self, error_type, **kwargs):
|
def __init__(self, error_type, **kwargs):
|
||||||
self.error_type = error_type
|
self.error_type = error_type
|
||||||
|
|
|
@ -214,7 +214,7 @@ def _get_editor_template(config, **kwargs):
|
||||||
|
|
||||||
|
|
||||||
def _search_journal(args, journal, **kwargs):
|
def _search_journal(args, journal, **kwargs):
|
||||||
""" Search the journal with the given args"""
|
"""Search the journal with the given args"""
|
||||||
if args.on_date:
|
if args.on_date:
|
||||||
args.start_date = args.end_date = args.on_date
|
args.start_date = args.end_date = args.on_date
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue