Use except Exception where Py2/3 disagrees

This commit is contained in:
Kagami Sascha Rosylight 2020-06-21 04:30:23 +02:00
parent d01648d637
commit 57eed5baa4
4 changed files with 6 additions and 6 deletions

View file

@ -537,7 +537,7 @@ class CommandBase(object):
try:
if check_gstreamer_lib():
return False
except (FileNotFoundError, WindowsError):
except Exception:
# Some systems don't have pkg-config; we can't probe in this case
# and must hope for the best
return False