Typo in API/Projects.pm
This commit is contained in:
parent
8e3d6e5464
commit
279b9ea07e
3 changed files with 5 additions and 13 deletions
|
@ -27,11 +27,7 @@ sub process
|
|||
my $year = shift @args // LDAP::get_year;
|
||||
|
||||
# Project existing?
|
||||
if (! -d "$basedir/$year/$project_id")
|
||||
{
|
||||
log ERROR, "Unable to find $project_id in $year";
|
||||
return "Unable to find $project_id in $year\n";
|
||||
}
|
||||
croak "Unable to find $project_id in $year" if (! -d "$basedir/$year/$project_id");
|
||||
|
||||
my $grade = Grading->new();
|
||||
|
||||
|
|
Reference in a new issue