Skip to content

Commit 8d6dd0b

Browse files
committed
Fix params to binary check function
1 parent b542dc1 commit 8d6dd0b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/Service/UtilsService.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,7 @@ public function downloadPythonBinary(
274274
}
275275
$file_name = $filename . '.gz';
276276
$save_file_loc = $dir . $file_name;
277-
$shouldDownloadBinary = $this->compareBinaryHash(
278-
$url, $dir . $filename, $binariesFolder, $filename
279-
);
277+
$shouldDownloadBinary = $this->compareBinaryHash($url, $dir . $filename);
280278
if (!file_exists($dir . $filename) || ($update && $shouldDownloadBinary)) {
281279
$cURL = curl_init($url);
282280
$fp = fopen($save_file_loc, 'wb');

0 commit comments

Comments
 (0)