mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 17:18:30 +02:00
Now the importer reads from standard input using util.py23_read().
This commit is contained in:
parent
5685952a73
commit
cfd8856989
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue