Fix filename parsing
For filenames that need more information, such as the same mealcard from both of us, it was replacing the cc information.
This commit is contained in:
parent
39c534940f
commit
f8b910b602
@ -44,7 +44,7 @@ def find_credit_institution(fn, banks, creditcards):
|
||||
except ValueError:
|
||||
if not bank:
|
||||
bank = i
|
||||
else:
|
||||
elif not cc:
|
||||
cc = i
|
||||
|
||||
if not bank:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user