changeset 10694 | 7ece2df9cc5c |
parent 10671 | e08102f45237 |
child 10851 | 70b21cf8b45c |
--- a/web/views/staticcontrollers.py Wed Sep 16 16:07:29 2015 +0200 +++ b/web/views/staticcontrollers.py Tue Sep 22 14:18:14 2015 +0200 @@ -167,7 +167,7 @@ with open(osp.join(dirpath, rid), 'rb') as source: for line in source: f.write(line) - f.write('\n') + f.write(b'\n') f.close() except: os.remove(tmpfile)