From 4a4d2e3aaa732ed1fdc67139abb06f6a5ccfd20d Mon Sep 17 00:00:00 2001 From: Felix Breidenstein Date: Sun, 29 Mar 2020 23:56:23 +0200 Subject: [PATCH] Importer: Skip unnecessary lines --- importer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/importer.py b/importer.py index df7b284..8a6d3d3 100644 --- a/importer.py +++ b/importer.py @@ -67,6 +67,9 @@ def command(filename, profile, force, filetype): name = line[3] description = line[4] + if description == "Tagessaldo": + continue + if not force and latest and date < latest.date: print("Found transaction older than then oldest transction in the DB. Aborting") sys.exit(1)