Skip to content

Commit

Permalink
Merge pull request #124 from gisce/adapt_to_errors_in_InfoRegistroAut…
Browse files Browse the repository at this point in the history
…ocons

Utilizar InfoRegistroAutocons (con 's') si InfoRegistoAutocons (sin 's') no està informado
  • Loading branch information
eberloso authored Apr 14, 2020
2 parents 87a48b8 + f19938a commit 4c0e0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gestionatr/input/messages/D1.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def info_registro_autocons(self):
if data not in [None, False]:
return InfoRegistroAutocons(data)
else:
tree = '{0}.InfoRegistoAutocons'.format(self._header)
tree = '{0}.InfoRegistroAutocons'.format(self._header)
data = get_rec_attr(self.obj, tree, False)
if data not in [None, False]:
return InfoRegistroAutocons(data)
Expand Down

0 comments on commit 4c0e0e9

Please sign in to comment.