williballenthin / python-evtx

Pure Python parser for Windows Event Log files (.evtx)
Apache License 2.0
719 stars 165 forks source link

TypeError when running evtx_eid_record_numbers.py script #50

Closed plapornik closed 6 years ago

plapornik commented 6 years ago

Hi Willi,

I'm getting the following error when running the evtx_eid_record_numbers.py script: TypeError: 'method' object is not iterable

I've debugged the script and worked out that line 23 should be: for record in log.records(): instead of: for record in log.records:

Regards, Peter

williballenthin commented 6 years ago

great catch, thanks!

williballenthin commented 6 years ago

addressed in 946dee52e861a517a3ae33290f7e5e1d3d99f090