Addon Manager: Utilities pylint cleanup

This commit is contained in:
Chris Hennes
2022-07-27 11:52:57 -05:00
parent 0e2508cca9
commit b9224cd14b

View File

@@ -22,6 +22,8 @@
# ***************************************************************************
import os
import platform
import shutil
import re
import ctypes
from typing import Union, Optional, Any
@@ -375,7 +377,6 @@ def get_python_exe() -> str:
python_exe = shutil.which("python")
if not python_exe or not os.path.exists(python_exe):
self.no_python_exe.emit()
return ""
prefs.SetString("PythonExecutableForPip", python_exe)