krayzpipes / txt-ferret

Identify and classify data in your text files with Python.
Apache License 2.0
4 stars 1 forks source link

Attribute is called before it is set in TxtFerret.__init__() #34

Closed krayzpipes closed 4 years ago

krayzpipes commented 4 years ago

Attribute error due to wrong order of attributes being set. We don't explicitly set some attributes which means a dependent attribute may not be set before it is used. This appears to be what is happening with file_encoding and output_file or file handler creation in TxtFerret.init()

krayzpipes commented 4 years ago

Fixed by Pull request #35