Add function wpperm to fix WP files permissions

This commit is contained in:
VirtuBox
2019-09-25 17:00:30 +02:00
parent 168fde6a38
commit 8812390bd2
2 changed files with 32 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ class WOGit:
try:
Log.debug(self, "WOGit: git reset HEAD~ at {0}"
.format(path))
git.reset("--hard HEAD~")
git.reset("HEAD~", "--hard")
except ErrorReturnCode as e:
Log.debug(self, "{0}".format(e))
Log.error(self, "Unable to git reset at {0} "