File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,9 @@ def _sorted_merge(*dicts):
7777
7878def _create_global_config (args ):
7979 username = input (
80- f"Please enter the name you would want future work to be credited to "
81- f"[{ args .get ('username' , '' )} ]: "
80+ f"Please enter the name you would want future work to be credited to " f"[{ args .get ('username' , '' )} ]: "
8281 ).strip () or args .get ("username" , "" )
83- email = input (
84- f"Please enter the your email "
85- f"[{ args .get ('email' , '' )} ]: "
86- ).strip () or args .get ("email" , "" )
82+ email = input (f"Please enter the your email " f"[{ args .get ('email' , '' )} ]: " ).strip () or args .get ("email" , "" )
8783 return_bool = False if username is None or email is None else True
8884 with open (Path ().home () / "diffpyconfig.json" , "w" ) as f :
8985 f .write (json .dumps ({"username" : stringify (username ), "email" : stringify (email )}))
You can’t perform that action at this time.
0 commit comments