mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Now the importer reads from standard input using util.py23_read().
This commit is contained in:
parent
93ea6a2a6a
commit
324dfbd2db
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class JRNLImporter(BaseImporter):
|
||||||
other_journal_txt = f.read()
|
other_journal_txt = f.read()
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
other_journal_txt = sys.stdin.read()
|
other_journal_txt = util.py23_read()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
util.prompt("[Entries NOT imported into journal.]")
|
util.prompt("[Entries NOT imported into journal.]")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue