Permalink
Browse files

add large string_limit field to generated XML. closes #1

  • Loading branch information...
adamgreig committed May 5, 2012
1 parent 5100893 commit 4239ea1345ef298b4e542ff2377681187006852d
Showing with 2 additions and 0 deletions.
  1. +2 −0 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)

0 comments on commit 4239ea1

Please sign in to comment.