The new woob repository is here: This gitlab will be removed soon.

Commit 85f2c816 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon

[spirica] fix date issue

This is a blind fix concerning the "symbols = '-'" patch from a weboob
It seems that something with the obj_date is causing crashes on the workers that we
cannot reproduce locally so while I am waiting for the session folder,
this fix may reduce bugs on the spirica module.
parent ef973840
......@@ -267,7 +267,7 @@ class item(ItemElement):
obj_vdate = Date(CleanText('./td[8]'), dayfirst=True)
def obj_date(self):
return Date(CleanText('./td[6]', symbols='-'), dayfirst=True, default=Field('vdate')(self))(self)
return Date(CleanText('./td[6]'), dayfirst=True, default=Field('vdate')(self))(self)
def obj_amount(self):
# We display the raw amount only if the net amount is not available.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment