Add missing test on manifest for issue1682
(transplanted from c17b22e35231da58101ed631ce81563a5731ec67)
This commit is contained in:
@@ -191,7 +191,8 @@ class Report(object):
|
||||
if file.startswith('Pictures'):
|
||||
picture = style2_z.read(file)
|
||||
pictures.append((file, picture))
|
||||
manifest.add_file_entry(file)
|
||||
if manifest:
|
||||
manifest.add_file_entry(file)
|
||||
style2_z.close()
|
||||
style2_io.close()
|
||||
dom_style2 = xml.dom.minidom.parseString(style2_xml)
|
||||
|
||||
Reference in New Issue
Block a user