|
@@ -61,7 +61,6 @@ sub get_sodexo_restaurants {
|
61
|
61
|
my $url = "http://www.sodexo.fi/ruokalistat/output/daily_json/$kitchen/$timestr/fi";
|
62
|
62
|
my $temp_fname = "sodexo$count-$weekday.temp.js";
|
63
|
63
|
if (!-f $temp_fname || !$use_old) {
|
64
|
|
- print $url . " -> " . $temp_fname . "\n";
|
65
|
64
|
system("wget -q --timeout=10 -O $temp_fname.tmp \"$url\" && mv $temp_fname.tmp $temp_fname");
|
66
|
65
|
}
|
67
|
66
|
if (-f $temp_fname) {
|