Show More
@@ -1178,11 +1178,12 b' Currently the magic system has the following functions:\\n"""' | |||
|
1178 | 1178 | log_write = logger.log_write |
|
1179 | 1179 | output_hist = self.shell.history_manager.output_hist |
|
1180 | 1180 | for n in range(1,len(input_hist)-1): |
|
1181 | log_write(input_hist[n].rstrip()) | |
|
1181 | log_write(input_hist[n].rstrip() + '\n') | |
|
1182 | 1182 | if n in output_hist: |
|
1183 | 1183 | log_write(repr(output_hist[n]),'output') |
|
1184 | 1184 | else: |
|
1185 | logger.log_write(''.join(input_hist[1:])) | |
|
1185 | logger.log_write('\n'.join(input_hist[1:])) | |
|
1186 | logger.log_write('\n') | |
|
1186 | 1187 | if timestamp: |
|
1187 | 1188 | # re-enable timestamping |
|
1188 | 1189 | logger.timestamp = True |
General Comments 0
You need to be logged in to leave comments.
Login now