Commit f1c708ac37eefea708263a435a518e5c4c4b8ffd

Authored by Christian Herdtweck
1 parent 730c5088

msodde: use new method name (get-->iter)_streams

Showing 1 changed file with 1 additions and 1 deletions
oletools/msodde.py
@@ -536,7 +536,7 @@ def process_xls(filepath): @@ -536,7 +536,7 @@ def process_xls(filepath):
536 """ find dde links in excel ole file """ 536 """ find dde links in excel ole file """
537 537
538 result = [] 538 result = []
539 - for stream in xls_parser.XlsFile(filepath).get_streams(): 539 + for stream in xls_parser.XlsFile(filepath).iter_streams():
540 if not isinstance(stream, xls_parser.WorkbookStream): 540 if not isinstance(stream, xls_parser.WorkbookStream):
541 continue 541 continue
542 for record in stream.iter_records(): 542 for record in stream.iter_records():