~sotirisp/today

7af01659ea29ff730ed5d7499c4858c3064a63b4 — Sotiris Papatheodorou 10 months ago a4f48bd v2.0.2
Fix -c/--carry-regex not working
1 files changed, 2 insertions(+), 1 deletions(-)

M today
M today => today +2 -1
@@ 349,7 349,8 @@ def add_common_args(parser) -> None:


def process_common_args(args: argparse.Namespace) -> None:
    args.carry_regex = None
    if 'carry_regex' not in args:
        args.carry_regex = None
    args.in_terminal = sys.stdout.isatty()
    args.suffix = journal_suffix()
    args.special_pattern = re.compile(special_regex())