Archived
1
0

Nooooooooooooooooo

This commit is contained in:
Mercier Pierre-Olivier 2013-09-12 13:44:06 +02:00
parent 1ad8d17e73
commit 8fdb420f85
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ sub tag_project
# Send data to intradata
log INFO, "Attente d'un processus de publication...";
log ERROR, "Erreur durant le processus de publication : $_"
if (!Process::Client::launch("intradata_get", { action => "update", type => "project", id => $project_id, "year" => $year }, { "butler.xml" => $content }));
if (Process::Client::launch("intradata_get", { action => "update", type => "project", id => $project_id, "year" => $year }, { "butler.xml" => $content }));
# Call API
my $err = API::Projects::add($project_id, $year);

View File

@ -62,7 +62,7 @@ sub update_project
log INFO, "Update $year/$project_id/butler.xml";
return $_ if (! create_tree($year, $project_id));
return $_ if (create_tree($year, $project_id));
open my $out, ">", "$basedir/$year/$project_id/butler.xml";
print $out $butler;