Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add large string_limit field to generated XML. closes #1

  • Loading branch information...
commit 4239ea1345ef298b4e542ff2377681187006852d 1 parent 5100893
Adam Greig authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  habitat_transition/couch_to_xml.py
2  habitat_transition/couch_to_xml.py
@@ -158,6 +158,8 @@ def _add_sentence(self):
158 158 f_delimiter.text = ","
159 159 callsign = ET.SubElement(self.sentence, 'callsign')
160 160 callsign.text = str(self.callsign)
  161 + string_limit = ET.SubElement(self.sentence, 'string_limit')
  162 + string_limit.text = "999"
161 163 fields = ET.SubElement(self.sentence, 'fields')
162 164 fields.text = str(len(self.payload["sentence"]["fields"]) + 1)
163 165

0 comments on commit 4239ea1

Please sign in to comment.
Something went wrong with that request. Please try again.