Hi,
I am interested in using this tool for GLS statements. However, when running the command "statement2csv" I get the following error. I am using python 3.7
_```
File "/usr/local/bin/statement2csv", line 10, in
sys.exit(run())
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/cli.py", line 57, in run
main(args or sys.argv[1:])
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/cli.py", line 49, in main
bookings: Bookings = files2booking(files)
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/statement_reader.py", line 267, in files2booking
bookings = bookings + pdf2bookings(filename)
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/bookings.py", line 52, in add
for itm in other:
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/bookings.py", line 44, in iter
for itm in sorted(super().iter()):
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/booking/booking_base.py", line 292, in lt
return self.date < other.date
TypeError: '<' not supported between instances of 'NoneType' and 'datetime.date
Hi,
I am interested in using this tool for GLS statements. However, when running the command "statement2csv" I get the following error. I am using python 3.7
_```
File "/usr/local/bin/statement2csv", line 10, in
sys.exit(run())
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/cli.py", line 57, in run
main(args or sys.argv[1:])
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/cli.py", line 49, in main
bookings: Bookings = files2booking(files)
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/statement_reader.py", line 267, in files2booking
bookings = bookings + pdf2bookings(filename)
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/bookings.py", line 52, in add
for itm in other:
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/bookings.py", line 44, in iter
for itm in sorted(super().iter()):
File "/home/xxx/.local/lib/python3.7/site-packages/bank_statement_reader/booking/booking_base.py", line 292, in lt
return self.date < other.date
TypeError: '<' not supported between instances of 'NoneType' and 'datetime.date