Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

add large string_limit field to generated XML #2

Merged
merged 1 commit into from

2 participants

@adamgreig
Owner

No description provided.

@danielrichman danielrichman merged commit 3102e08 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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)
Something went wrong with that request. Please try again.