fix various small issues in the codebase

This commit is contained in:
Jonathan Wren 2020-04-11 14:25:50 -07:00
parent abad3a3a79
commit e3a46e9846
10 changed files with 6 additions and 25 deletions

View file

@ -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()