diff --git a/tools/donate-cpu.py b/tools/donate-cpu.py index 3822b1a11..da6ae3447 100644 --- a/tools/donate-cpu.py +++ b/tools/donate-cpu.py @@ -76,7 +76,7 @@ def scanPackage(workPath, package): tempPath = workPath + '/temp' subprocess.call(['rm', '-rf', tempPath, destfile]) if not wget(package, destfile): - if not wget(filepath, destfile): + if not wget(package, destfile): return None print('Unpacking..') os.mkdir(tempPath)