diff --git a/gitea_auto_update/lib/download.py b/gitea_auto_update/lib/download.py index 68a8214..f178ad7 100644 --- a/gitea_auto_update/lib/download.py +++ b/gitea_auto_update/lib/download.py @@ -28,7 +28,7 @@ class Download: self.downloadGiteaFiles() self.checkAndExtract() - def isTool(name): + def isTool(self, name): # Function to check if tool is available ##Check whether `name` is on PATH and marked as executable. return which(name) is not None @@ -74,4 +74,4 @@ class Download: self.extractFile() else: logging.error('Download: error: sha256sum failed') - quit() \ No newline at end of file + quit()