File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
import importlib .metadata
2
2
import json
3
3
import os
4
+ import warnings
4
5
from copy import copy
5
6
from pathlib import Path
6
- import warnings
7
7
8
8
9
9
def clean_dict (obj ):
@@ -115,7 +115,9 @@ def get_user_info(args=None):
115
115
global_config = load_config (Path ().home () / "diffpyconfig.json" )
116
116
local_config = load_config (Path ().cwd () / "diffpyconfig.json" )
117
117
if global_config is None and local_config is None :
118
- warnings .warn ("No global config file, please follow prompts below. For more information, refer to www.diffpy.org/diffpy.utils/" )
118
+ warnings .warn (
119
+ "No global config file, please follow prompts below. For more information, refer to www.diffpy.org/diffpy.utils/"
120
+ )
119
121
config_bool = _create_global_config (args )
120
122
global_config = load_config (Path ().home () / "diffpyconfig.json" )
121
123
config = _sorted_merge (clean_dict (global_config ), clean_dict (local_config ), clean_dict (args ))
You can’t perform that action at this time.
0 commit comments