| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 97f0f45 commit 83ce5e9
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1070,6 +1070,8 @@ def edit_config(self): | |||
| 1070 | 1070 | try: | |
| 1071 | 1071 | default_config = pkgutil.get_data('bpython', | |
| 1072 | 1072 | 'sample-config') | |
| 1073 | + if py3: # py3 files need unicode | ||
| 1074 | + default_config = default_config.decode('ascii') | ||
| 1073 | 1075 | bpython_dir, script_name = os.path.split(__file__) | |
| 1074 | 1076 | containing_dir = os.path.dirname( | |
| 1075 | 1077 | os.path.abspath(self.config.config_path)) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,7 +45,7 @@ | |||
| 45 | 45 | # save_append_py = False | |
| 46 | 46 | ||
| 47 | 47 | # The name of a helper executable that should perform pastebin upload on | |
| 48 | - # bpython’s behalf. If unset, bpython uploads pastes to bpaste.net. (default: ) | ||
| 48 | + # bpython's behalf. If unset, bpython uploads pastes to bpaste.net. (default: ) | ||
| 49 | 49 | #pastebin_helper = gist.py | |
| 50 | 50 | ||
| 51 | 51 | # How long an undo must be expected to take before prompting for how | |
| Back | FazBrowse Home | New Git URL |
0 commit comments