diff --git a/win/misc/depcheck.py b/win/misc/depcheck.py
index 1f0057db2cf1450c29df81535cc5639df249e727..768d93373000a7fe56a03285833725e492a6e7d5 100644
--- a/win/misc/depcheck.py
+++ b/win/misc/depcheck.py
@@ -51,7 +51,7 @@ def get_dependencies(filename):
     except Exception as error:
         print(error)
         return deps
-    data = data.decode("utf-8")
+
     for line in data.splitlines():
         line = line.strip()
         if line.startswith("DLL Name:"):