From 809914c2af7f9cc12ef4043e19341a6549ec7e8c Mon Sep 17 00:00:00 2001 From: Casper Weiss Bang Date: Wed, 30 Oct 2019 13:50:49 +0100 Subject: [PATCH] Update jrnl/cli.py Co-Authored-By: Peter Schmidbauer --- jrnl/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/cli.py b/jrnl/cli.py index 3b59da3c..06639108 100644 --- a/jrnl/cli.py +++ b/jrnl/cli.py @@ -140,7 +140,7 @@ def run(manual_args=None): configure_logger(args.debug) args.text = [p.decode('utf-8') if util.PY2 and not isinstance(p, unicode) else p for p in args.text] if args.version: - version_str = "{0} version {1} (Python {3})".format(jrnl.__title__, jrnl.__version__, sys.version) + version_str = "{0} version {1} (Python {2})".format(jrnl.__title__, jrnl.__version__, sys.version) print(util.py2encode(version_str)) sys.exit(0)