Use parser name as the name of the default segment

This commit is contained in:
Rob McMullen 2017-03-20 13:37:51 -07:00
parent a7b24e705e
commit 72c4fb430a

View File

@ -26,7 +26,7 @@ class SegmentParser(object):
def parse(self):
r = self.segment_data
self.segments.append(DefaultSegment(r, 0))
self.segments.append(DefaultSegment(r, 0, name=self.menu_name))
try:
self.image = self.get_image(r)
self.check_image()