Handle non existing session config file
If the session config file does not exist in the home directory of
the user, do not throw warning message.
@@ -34,6 +34,8 @@ class UserCredentials:
".codechecker.passwords.json")
LOG.debug(session_cfg_file)
+ scfg_dict = {}
+ if os.path.exists(session_cfg_file):
scfg_dict = load_json_or_empty(session_cfg_file, {},
"user authentication")
if os.path.exists(session_cfg_file):
