| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 64772c0 commit 9542b0c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -108,8 +108,8 @@ def runsource(self, source, filename='<input>', symbol='single', | |||
| 108 | 108 | encode=True): | |
| 109 | 109 | with self.timer: | |
| 110 | 110 | if encode: | |
| 111 | - source = '# coding: %s\n%s' % ( | ||
| 112 | - self.encoding, source.encode(self.encoding)) | ||
| 111 | + source = u'# coding: %s\n%s' % (self.encoding, source) | ||
| 112 | + source = source.encode(self.encoding) | ||
| 113 | 113 | return code.InteractiveInterpreter.runsource(self, source, | |
| 114 | 114 | filename, symbol) | |
| 115 | 115 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments