##// END OF EJS Templates
Add newline if missing to end of script magic cell
Eric Galloway -
Show More
@@ -193,6 +193,8 b' class ScriptMagics(Magics):'
193 else:
193 else:
194 raise
194 raise
195
195
196 if not cell.endswith('\n'):
197 cell += '\n'
196 cell = cell.encode('utf8', 'replace')
198 cell = cell.encode('utf8', 'replace')
197 if args.bg:
199 if args.bg:
198 self.bg_processes.append(p)
200 self.bg_processes.append(p)
General Comments 0
You need to be logged in to leave comments. Login now