We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40b300c commit c68d210Copy full SHA for c68d210
bpython/config.py
@@ -155,15 +155,7 @@ def loadini(struct, configfile):
155
156
fill_config_with_default_values(config, defaults)
157
try:
158
- if not config.read(config_path):
159
- # No config file. If the user has it in the old place then complain
160
- if os.path.isfile(os.path.expanduser("~/.bpython.ini")):
161
- sys.stderr.write(
162
- "Error: It seems that you have a config file at "
163
- "~/.bpython.ini. Please move your config file to "
164
- "%s\n" % default_config_path()
165
- )
166
- sys.exit(1)
+ config.read(config_path)
167
except UnicodeDecodeError as e:
168
sys.stderr.write(
169
"Error: Unable to parse config file at '{}' due to an "
0 commit comments