| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2b8c30b commit f35f805
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -899,8 +899,9 @@ def push(self, s, insert_into_history=True): | |||
| 899 | 899 | return more | |
| 900 | 900 | ||
| 901 | 901 | def insert_into_history(self, s): | |
| 902 | + pythonhist = os.path.expanduser(self.config.hist_file) | ||
| 902 | 903 | try: | |
| 903 | - self.rl_history.append_reload_and_write(s, self.config.hist_file, | ||
| 904 | + self.rl_history.append_reload_and_write(s, pythonhist, | ||
| 904 | 905 | getpreferredencoding()) | |
| 905 | 906 | except RuntimeError as e: | |
| 906 | 907 | self.interact.notify(u"%s" % (e, )) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments