mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-09 09:06:12 +02:00
fix various small issues in the codebase
This commit is contained in:
parent
abad3a3a79
commit
e3a46e9846
10 changed files with 6 additions and 25 deletions
|
@ -2,7 +2,6 @@
|
|||
# encoding: utf-8
|
||||
|
||||
import sys
|
||||
from .. import util
|
||||
|
||||
|
||||
class JRNLImporter:
|
||||
|
@ -15,7 +14,6 @@ class JRNLImporter:
|
|||
"""Imports from an existing file if input is specified, and
|
||||
standard input otherwise."""
|
||||
old_cnt = len(journal.entries)
|
||||
old_entries = journal.entries
|
||||
if input:
|
||||
with open(input, "r", encoding="utf-8") as f:
|
||||
other_journal_txt = f.read()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue