cmars / pystdf

Python module for working with STDF files
GNU General Public License v2.0
150 stars 84 forks source link

Fix bug where readField function is called without self #20

Closed MarounMaroun closed 5 years ago

MarounMaroun commented 5 years ago

Currently, the code throws

  File "/usr/local/lib/python3.7/site-packages/pystdf/IO.py", line 96, in readBn
    bn.append(readField(header, "B1"))
NameError: name 'readField' is not defined

Adding self. fixes the issue.