From 324dfbd2db27d8f92f53370b66de27154c1d89fc Mon Sep 17 00:00:00 2001 From: Gregory Crosswhite Date: Wed, 29 Oct 2014 12:56:44 -0700 Subject: [PATCH] Now the importer reads from standard input using util.py23_read(). --- jrnl/plugins/jrnl_importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/plugins/jrnl_importer.py b/jrnl/plugins/jrnl_importer.py index 9c0a4b47..6563233b 100644 --- a/jrnl/plugins/jrnl_importer.py +++ b/jrnl/plugins/jrnl_importer.py @@ -22,7 +22,7 @@ class JRNLImporter(BaseImporter): other_journal_txt = f.read() else: try: - other_journal_txt = sys.stdin.read() + other_journal_txt = util.py23_read() except KeyboardInterrupt: util.prompt("[Entries NOT imported into journal.]") sys.exit(0)