Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
destanyol committed May 23, 2018
1 parent bdf59bb commit 59d2c42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gestionatr/input/messages/message_gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

XSD_DATA.update({
'41': {
'A1': 'A131.xsd',
'A1': 'A141.xsd',
'A2': 'A241.xsd',
'A3': 'A341.xsd',
'A4': 'A441.xsd',
Expand Down
4 changes: 2 additions & 2 deletions gestionatr/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def validate_xml(data, is_gas=False):
return ValidationResult(True, None)
except Exception as e:
try:
from gestionatr.input.messages import Message
m = Message(data)
from gestionatr.input.messages import MessageGas
m = MessageGas(data)
m.parse_xml()
return ValidationResult(True, None)
except Exception as e2:
Expand Down

0 comments on commit 59d2c42

Please sign in to comment.