Major: made scripts pass pep8 and pyflakes
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import os
|
||||
|
||||
import json
|
||||
|
||||
default_config = {
|
||||
'filename': '/tmp/interp.log',
|
||||
'level': 'debug',
|
||||
'size': 102400,
|
||||
'logbackup': 10,
|
||||
'pypath': None,
|
||||
}
|
||||
|
||||
try:
|
||||
with open(os.path.expanduser('~/.config/interp.json')) as config_file:
|
||||
d = json.load(config_file)
|
||||
except IOError as e:
|
||||
d = {}
|
||||
|
||||
config = dict(default_config.items() + d.items())
|
||||
Reference in New Issue
Block a user