Mercurial > pyarq-presupuestos
changeset 18:878159a13494
bug fix: except raise when parses X records importing fiebdc files
author | Miguel Ángel Bárcena Rodríguez <miguelangel@obraencurso.es> |
---|---|
date | Thu, 28 Nov 2013 12:54:42 +0100 |
parents | a7b9f7e7dfa4 |
children | bea86fd8dfc6 |
files | Generic/fiebdc.py Generic/globalVars.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Generic/fiebdc.py Sat Nov 02 19:26:09 2013 +0100 +++ b/Generic/fiebdc.py Thu Nov 28 12:54:42 2013 +0100 @@ -1590,8 +1590,8 @@ while _ti_index < len(_field_2_list)-2: _ti_code = _field_2_list[_ti_index] _ti_value = _field_2_list[_ti_index+1] - if _ti_code != u"" and _ty_value != u"": - _ti_dict[_ti_code.encode("utf8")] = _ty_value.encode("utf8") + if _ti_code != u"" and _ti_value != u"": + _ti_dict[_ti_code.encode("utf8")] = _ti_value.encode("utf8") _ti_index = _ti_index + 2 self.__budget.setTecnicalInformation(_record_code.encode("utf8"), _ti_dict) self.num_valid_record = self.num_valid_record +1