Fix location to find defense
This commit is contained in:
parent
476df5a622
commit
59ef2e1994
@ -118,7 +118,7 @@ sub tag_defense
|
||||
}
|
||||
|
||||
my $defense_id;
|
||||
if ($_[4] =~ /(?:defenses\/)?([a-zA-Z0-9\/]+)(?:.xml)/) {
|
||||
if ($path =~ /(?:defenses\/)?([a-zA-Z0-9\/]+)(?:.xml)/) {
|
||||
$defense_id = $1;
|
||||
} else {
|
||||
log ERROR, "Déplacez votre soutenance dans le dossier defenses ou simplifiez le nom du fichier.";
|
||||
|
Reference in New Issue
Block a user