bitkeks / python-netflow-v9-softflowd

PyPI "netflow" package. NetFlow v9 parser, collector and analyzer implemented in Python 3. Developed and tested with softflowd
https://bitkeks.eu/blog/2016/08/collecting-netflow-v9-on-openwrt.html
MIT License
110 stars 56 forks source link

Fixed string conversion from bytes #42

Closed Problembeloeser closed 1 year ago

Problembeloeser commented 2 years ago

Currently, if a string is read from bytes "foobar", it gets represented by str("foobar) as `"b'foobar'". This PR changes it to use decode to get the real representation

bitkeks commented 1 year ago

Great catch! Thanks!