diff --git a/goodwe_controller/tools/predeploy_check.py b/goodwe_controller/tools/predeploy_check.py index a75d5ca..cc718af 100644 --- a/goodwe_controller/tools/predeploy_check.py +++ b/goodwe_controller/tools/predeploy_check.py @@ -118,8 +118,7 @@ def _git(*args, repo=None): """ where = repo or os.path.dirname(ADDON) return subprocess.run( - ["git", "-c", f"safe.directory={where}", "-c", "safe.directory=*", - "-C", where, *args], + ["git", "-c", f"safe.directory={where}", "-C", where, *args], capture_output=True, text=True)