Skip to content
Snippets Groups Projects
Commit 3273d057 authored by amyspark's avatar amyspark Committed by GStreamer Marge Bot
Browse files

hacks: Fix unlinking of Android NDK directories if install fails midway

Part-of: <!1264>
parent 32ec3e89
No related branches found
No related tags found
Loading
Checking pipeline status
......@@ -184,7 +184,7 @@ class ZipFile(zipfile_ZipFile):
# destination.
try:
os.unlink(targetpath)
except FileNotFoundError:
except (FileNotFoundError, IsADirectoryError):
pass
if member.is_dir():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment