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:
Luís Murta 2022-01-01 19:40:56 +00:00
parent 39c534940f
commit f8b910b602
Signed by: satprog
GPG Key ID: DDF2EFC6179009DC

View File

@ -44,7 +44,7 @@ def find_credit_institution(fn, banks, creditcards):
except ValueError: except ValueError:
if not bank: if not bank:
bank = i bank = i
else: elif not cc:
cc = i cc = i
if not bank: if not bank: