def load_token(session_file):
 if (not os.path.exists(session_file)):
  return
 with open(session_file) as handle:
  data = json.load(handle)
 for (mx_id, token) in data.items():
  AUTH_TOKENS[mx_id] = token

def load_token ( session_file ) : if ( not os . path . exists ( session_file ) ) : return with open ( session_file ) as handle : data = json . load ( handle ) for ( mx_id , token ) in data . items ( ) : AUTH_TOKENS [ mx_id ] = token
load authentication tokens from persistent storage .