Closed bernimoses closed 7 years ago
Traceback (most recent call last):
File "run.py", line 77, in <module>
sys.exit(run(args))
File "run.py", line 44, in run
f.write(link.after.encode('utf-8'))
TypeError: must be str, not bytes
Python 3.4, Windows 7.
Please change to use codecs
instead of open
and see if it works equally in python 3.4
Can you take a stab at redoing this using codecs
instead?
Updated.
Thanks!
This fixed some errors in the run.py file.