summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/install-decoders3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/install-decoders b/tools/install-decoders
index 3772bd5..30360db 100755
--- a/tools/install-decoders
+++ b/tools/install-decoders
@@ -18,6 +18,7 @@
## along with this program; if not, see <http://www.gnu.org/licenses/>.
##
+import errno
import os
import sys
from shutil import copy
@@ -64,7 +65,7 @@ def install(srcdir, dstdir, s):
try:
os.mkdir(pd_dst)
except OSError as e:
- if e.errno != os.errno.EEXIST:
+ if e.errno != errno.EEXIST:
raise
else:
pass