Importer: Skip unnecessary lines
This commit is contained in:
parent
d505ec7ade
commit
4a4d2e3aaa
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ def command(filename, profile, force, filetype):
|
||||||
name = line[3]
|
name = line[3]
|
||||||
description = line[4]
|
description = line[4]
|
||||||
|
|
||||||
|
if description == "Tagessaldo":
|
||||||
|
continue
|
||||||
|
|
||||||
if not force and latest and date < latest.date:
|
if not force and latest and date < latest.date:
|
||||||
print("Found transaction older than then oldest transction in the DB. Aborting")
|
print("Found transaction older than then oldest transction in the DB. Aborting")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue