From 53e58f986bde57da93fe632aae108d34f75d81cd Mon Sep 17 00:00:00 2001 From: jgstew Date: Tue, 12 Dec 2023 16:15:32 -0500 Subject: [PATCH] tweak import --- SharedProcessors/GoogleChromeUpdateInfoProvider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SharedProcessors/GoogleChromeUpdateInfoProvider.py b/SharedProcessors/GoogleChromeUpdateInfoProvider.py index d3f7bad..4346d90 100644 --- a/SharedProcessors/GoogleChromeUpdateInfoProvider.py +++ b/SharedProcessors/GoogleChromeUpdateInfoProvider.py @@ -7,7 +7,7 @@ # - https://gist.github.com/pudquick/8cd029d0967ee6f5ee353ed5a967f33c # import uuid -from xml.etree import ElementTree as ET +import xml.etree.ElementTree import requests from autopkglib import Processor, ProcessorError @@ -110,7 +110,7 @@ def main(self): f"Error reported: {response.status_code} : {response.text}" ) - content_xml = ET.fromstring(response.content) + content_xml = xml.etree.ElementTree.fromstring(response.content) try: package_name = content_xml.find( "app/updatecheck/manifest/packages/package"