From cf6c16477044017c90243dd87b1da7fcb81cca9e Mon Sep 17 00:00:00 2001 From: inSilex Date: Tue, 20 Feb 2024 18:29:48 +0200 Subject: [PATCH] Fix parse_resource typo in apkutils usage (#1378) --- mapadroid/mad_apk/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapadroid/mad_apk/utils.py b/mapadroid/mad_apk/utils.py index df9b6b387..55f60990e 100644 --- a/mapadroid/mad_apk/utils.py +++ b/mapadroid/mad_apk/utils.py @@ -104,7 +104,7 @@ def get_apk_info(downloaded_file: io.BytesIO) -> Tuple[Optional[str], Optional[s package_version: Optional[str] = None package_name: Optional[str] = None try: - apk = apkutils.APK.from_io(downloaded_file).parse_resouce() + apk = apkutils.APK.from_io(downloaded_file).parse_resource() except Exception as e: # noqa: E722 B001 logger.warning('Unable to parse APK file') logger.exception(e)