Commit becb96f7a3e87365f6be1725724ef201b030a063
1 parent
217d6114
xls_parser: fix "wrong" variable name
Showing
1 changed file
with
1 additions
and
1 deletions
oletools/xls_parser.py
| @@ -118,7 +118,7 @@ class XlsFile(OleRecordFile): | @@ -118,7 +118,7 @@ class XlsFile(OleRecordFile): | ||
| 118 | """ An xls file has most streams made up of records """ | 118 | """ An xls file has most streams made up of records """ |
| 119 | 119 | ||
| 120 | @classmethod | 120 | @classmethod |
| 121 | - def stream_class_for_name(self, stream_name): | 121 | + def stream_class_for_name(cls, stream_name): |
| 122 | """ helper for iter_streams """ | 122 | """ helper for iter_streams """ |
| 123 | return XlsStream | 123 | return XlsStream |
| 124 | 124 |