Fixed mistake in EmptySegment constructor

This commit is contained in:
Rob McMullen 2016-03-04 13:02:59 -08:00
parent 18b53b8fcb
commit f2f36f11c5

View File

@ -249,7 +249,7 @@ class DiskImageBase(object):
try:
segment = self.get_file_segment(dirent)
except InvalidFile, e:
segment = EmptySegment(self.data, style, name=dirent.get_filename(), error=str(e))
segment = EmptySegment(self.bytes, self.style, name=dirent.get_filename(), error=str(e))
segments.append(segment)
return segments