def add_preferences_to_user(username, properties_dict): """ adds a preference to the user in the DB :param username: :param properties_dict: :return: """ user_id = load_user_id_only_by_name(username) if DebuggingConventions.GENERALLY_DEBUGGING_GAME_LOGIC: print(properties_dict) Queries.add_preferences(user_id, properties_dict)
def add_preferences_to_user(username, properties_dict): user_id = load_user_id_only_by_name(username) print(properties_dict) Queries.add_preferences(user_id, properties_dict)