Show More
@@ -158,4 +158,6 def write(nb, fp, version=NO_CONVERT, **kwargs): | |||||
158 | s = writes(nb, version, **kwargs) |
|
158 | s = writes(nb, version, **kwargs) | |
159 | if isinstance(s, bytes): |
|
159 | if isinstance(s, bytes): | |
160 | s = s.decode('utf8') |
|
160 | s = s.decode('utf8') | |
161 |
|
|
161 | fp.write(s) | |
|
162 | if not s.endswith(u'\n'): | |||
|
163 | fp.write(u'\n') |
General Comments 0
You need to be logged in to leave comments.
Login now