##// END OF EJS Templates
more visible timestamp for ipy_fsops.inote
vivainio -
Show More
@@ -165,7 +165,7 b' def inote(arg):'
165 fname = ip.options.ipythondir + '/notes.txt'
165 fname = ip.options.ipythondir + '/notes.txt'
166
166
167 try:
167 try:
168 entry = time.asctime() + ':\n' + arg.split(None,1)[1] + '\n'
168 entry = " === " + time.asctime() + ': ===\n' + arg.split(None,1)[1] + '\n'
169 f= open(fname, 'a').write(entry)
169 f= open(fname, 'a').write(entry)
170 except IndexError:
170 except IndexError:
171 ip.IP.hooks.editor(fname)
171 ip.IP.hooks.editor(fname)
General Comments 0
You need to be logged in to leave comments. Login now