File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11import importlib .metadata
22import json
33import os
4+ import warnings
45from copy import copy
56from pathlib import Path
6- import warnings
77
88
99def clean_dict (obj ):
@@ -115,7 +115,9 @@ def get_user_info(args=None):
115115 global_config = load_config (Path ().home () / "diffpyconfig.json" )
116116 local_config = load_config (Path ().cwd () / "diffpyconfig.json" )
117117 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+ )
119121 config_bool = _create_global_config (args )
120122 global_config = load_config (Path ().home () / "diffpyconfig.json" )
121123 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