black formatted files before changes
This commit is contained in:
@@ -10,7 +10,7 @@ class Config(object):
|
||||
def load_config(self, import_json):
|
||||
"""Load settings dict from import_json (path/filename.json) JSON-file."""
|
||||
|
||||
with open(import_json, 'r') as fp:
|
||||
with open(import_json, "r") as fp:
|
||||
settings = json.load(fp)
|
||||
|
||||
for key, value in settings.items():
|
||||
@@ -19,5 +19,5 @@ class Config(object):
|
||||
def save_config(self, export_json):
|
||||
"""Save settings dict to export_json (path/filename.json) JSON-file."""
|
||||
|
||||
with open(export_json, 'w') as fp:
|
||||
with open(export_json, "w") as fp:
|
||||
json.dump(self.settings, fp)
|
||||
|
||||
Reference in New Issue
Block a user