Show More
@@ -1164,7 +1164,7 b' Currently the magic system has the following functions:\\n"""' | |||
|
1164 | 1164 | if logfname: |
|
1165 | 1165 | logfname = os.path.expanduser(logfname) |
|
1166 | 1166 | rc.opts.logfile = logfname |
|
1167 | loghead = self.shell.loghead_tpl % (rc.opts,rc.args) | |
|
1167 | loghead = self.shell.loghead_tpl % (sys.stdin.encoding, rc.opts, rc.args) | |
|
1168 | 1168 | try: |
|
1169 | 1169 | started = logger.logstart(logfname,loghead,logmode, |
|
1170 | 1170 | log_output,timestamp,log_raw_input) |
@@ -670,7 +670,7 b' class InteractiveShell(object,Magic):' | |||
|
670 | 670 | # logstart method. |
|
671 | 671 | self.loghead_tpl = \ |
|
672 | 672 | """#log# Automatic Logger file. *** THIS MUST BE THE FIRST LINE *** |
|
673 | #log# DO NOT CHANGE THIS LINE OR THE TWO BELOW | |
|
673 | #log# DO NOT CHANGE THIS LINE OR THE TWO BELOW -* coding: %s *- | |
|
674 | 674 | #log# opts = %s |
|
675 | 675 | #log# args = %s |
|
676 | 676 | #log# It is safe to make manual edits below here. |
General Comments 0
You need to be logged in to leave comments.
Login now