Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add large string_limit field to generated XML. closes #1

  • Loading branch information...
commit 4239ea1345ef298b4e542ff2377681187006852d 1 parent 5100893
@adamgreig authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  habitat_transition/couch_to_xml.py
View
2  habitat_transition/couch_to_xml.py
@@ -158,6 +158,8 @@ def _add_sentence(self):
f_delimiter.text = ","
callsign = ET.SubElement(self.sentence, 'callsign')
callsign.text = str(self.callsign)
+ string_limit = ET.SubElement(self.sentence, 'string_limit')
+ string_limit.text = "999"
fields = ET.SubElement(self.sentence, 'fields')
fields.text = str(len(self.payload["sentence"]["fields"]) + 1)
Please sign in to comment.
Something went wrong with that request. Please try again.