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 17f6eae commit 476e216Copy full SHA for 476e216
bpython/config.py
@@ -32,14 +32,13 @@ def can_encode(c):
32
33
def supports_box_chars():
34
"""Check if the encoding suppors Unicode box characters."""
35
- return all(map( can_encode, u'│─└┘┌┐'))
+ return all(map(can_encode, u'│─└┘┌┐'))
36
37
def get_config_home():
38
"""Returns the base directory for bpython's configuration files."""
39
xdg_config_home = os.environ.get('XDG_CONFIG_HOME', '~/.config')
40
return os.path.join(xdg_config_home, 'bpython')
41
42
-
43
def default_config_path():
44
"""Returns bpython's default configuration file path."""
45
return os.path.join(get_config_home(), 'config')
0 commit comments