mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Update jrnl/cli.py
Co-Authored-By: Peter Schmidbauer <peter.schmidb@gmail.com>
This commit is contained in:
parent
734993cc0a
commit
809914c2af
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue