mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-09 09:06:12 +02:00
Python 3 compatibility
This commit is contained in:
parent
cf720732b2
commit
3052e0cce7
6 changed files with 20 additions and 7 deletions
|
@ -8,6 +8,7 @@
|
|||
"""
|
||||
|
||||
import Journal
|
||||
import util
|
||||
import exporters
|
||||
import install
|
||||
import os
|
||||
|
@ -174,7 +175,7 @@ def cli():
|
|||
if config['editor']:
|
||||
raw = get_text_from_editor(config)
|
||||
else:
|
||||
raw = raw_input("[Compose Entry] ")
|
||||
raw = util.py23_input("[Compose Entry] ")
|
||||
if raw:
|
||||
args.text = [raw]
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue