Explorar el Código

And the other files

Zachary Kotlarek hace 13 años
padre
commit
81ead624ba
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      findTorrent.pl

+ 2 - 2
findTorrent.pl

@@ -197,7 +197,7 @@ my %need          = ();
 }
 
 # Allow quality checks to be disabled
-if (-e dirname($dir) . '/no_quality_checks') {
+if (-e $dir . '/no_quality_checks') {
 	$NO_QUALITY_CHECKS = 1;
 }
 
@@ -286,7 +286,7 @@ if ((scalar(@urls) < 1) && -e $dir . '/search_by_date') {
 if (scalar(@urls) < 1) {
 
 	# Allow use of more number formats
-	if (-e dirname($dir) . '/more_number_formats') {
+	if (-e $dir . '/more_number_formats') {
 		$MORE_NUMBER_FORMATS = 1;
 	}