Skip to content

Commit

Permalink
apkutils renamed parse_resource
Browse files Browse the repository at this point in the history
  • Loading branch information
inSilex authored and Grennith committed Feb 21, 2024
1 parent dec82e0 commit 4ee0a2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mapadroid/mad_apk/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +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 = apkutils.APK.from_io(downloaded_file)
apk = apk.parse_resource()
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)
Expand Down

0 comments on commit 4ee0a2e

Please sign in to comment.