Python 3 compatibility

This commit is contained in:
Manuel Ebert 2013-04-19 14:46:05 +02:00
parent cf720732b2
commit 3052e0cce7
6 changed files with 20 additions and 7 deletions

View file

@ -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: