def update_custom_recipe(self, urn, title, script): id_ = int(urn[len('custom:'):]) update_custom_recipe(id_, title, script) self.custom_recipe_collection = get_custom_recipe_collection()
def update_custom_recipe(self, urn, title, script): id_ = int(urn[len('custom:'):]) update_custom_recipe(id_, title, script) self.custom_recipe_collection = get_custom_recipe_collection()