Added documentation to XML / defaults to strict-time / time-shift. Also removed overlap-max for now until it's fully implemented.

This commit is contained in:
Justin Emter
2017-08-17 12:12:59 -07:00
parent 1fc3d1bf7a
commit 69e92ef68e
3 changed files with 164 additions and 58 deletions

View File

@@ -378,9 +378,9 @@ class PseudoChannel():
day_of_week = child.tag
strict_time = time.attrib['strict-time'] if 'strict-time' in time.attrib else ''
strict_time = time.attrib['strict-time'] if 'strict-time' in time.attrib else 'false'
time_shift = time.attrib['time-shift'] if 'time-shift' in time.attrib else ''
time_shift = time.attrib['time-shift'] if 'time-shift' in time.attrib else '1'
overlap_max = time.attrib['overlap-max'] if 'overlap-max' in time.attrib else ''