mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 03:38:40 +00:00
bug and media fixes
This commit is contained in:
parent
1336578304
commit
924540c556
|
|
@ -13,7 +13,7 @@ function ip2int(string $ip) : float
|
|||
}
|
||||
|
||||
while (($data = \fgetcsv($fh, 150, ",")) !== false) {
|
||||
\fputcsv($fo, [ip2int($data[0]), ip2int($data[1]), $data[4]]);
|
||||
\fputcsv($fo, [\ip2int($data[0]), \ip2int($data[1]), $data[4]]);
|
||||
}
|
||||
|
||||
\fclose($fo);
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ $destination = ($key = \array_search('-d', $argv)) === false || $key === \count(
|
|||
$modulePath = ($key = \array_search('-m', $argv)) === false || $key === \count($argv) - 1 ? null : \trim($argv[$key + 1], '" ');
|
||||
|
||||
if (!isset($destination) || !isset($modulePath)) {
|
||||
printUsage();
|
||||
\printUsage();
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user