Addon Manager: Refactoring and pylint cleanup
This commit is contained in:
@@ -382,8 +382,9 @@ def get_python_exe() -> str:
|
||||
prefs.SetString("PythonExecutableForPip", python_exe)
|
||||
return python_exe
|
||||
|
||||
|
||||
def get_cache_file_name(file: str) -> str:
|
||||
cache_path = FreeCAD.getUserCachePath()
|
||||
am_path = os.path.join(cache_path, "AddonManager")
|
||||
os.makedirs(am_path, exist_ok=True)
|
||||
return os.path.join(am_path, file)
|
||||
return os.path.join(am_path, file)
|
||||
|
||||
Reference in New Issue
Block a user