Can give defense file without .xml
This commit is contained in:
parent
9f7a2f1f15
commit
feb887d105
@ -118,7 +118,7 @@ sub tag_defense
|
||||
}
|
||||
|
||||
my $defense_id;
|
||||
if ($path =~ /(?: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