with open(filepath) as seedfile:
seeds.append(seedfile.read())
If 'rb' option isn't used, "a bytes-like object is required, not 'str' " error occurs. Even if file has b'' pre-pended. It adds "" around bytes-like string and sees it as normal string. Also, it reeds in a new line.
Line 80:
If 'rb' option isn't used, "
a bytes-like object is required, not 'str'
" error occurs. Even if file hasb''
pre-pended. It adds""
around bytes-like string and sees it as normal string. Also, it reeds in a new line.