|  | @@ -98,7 +98,7 @@ sub get_juvenes_restaurants {
 | 
	
		
			
			| 98 | 98 |        my $temp_fname = "juvenes$count-$weekday.temp.js";
 | 
	
		
			
			| 99 | 99 |        my $url = "http://www.juvenes.fi/DesktopModules/Talents.LunchMenu/LunchMenuServices.asmx/GetMenuByWeekday?KitchenId=$kitchen&MenuTypeId=$menutype&Week=$week&Weekday=$weekday&lang='fi'&format=json";
 | 
	
		
			
			| 100 | 100 |        if (!-f $temp_fname || !$use_old) {
 | 
	
		
			
			| 101 |  | -        system("wget -q --timeout=10 -O $temp_fname.tmp \"$url\" && mv $temp_fname.tmp $temp_fname");
 | 
	
		
			
			|  | 101 | +        system("rm -f $temp_fname && wget -q --timeout=10 -O $temp_fname.tmp \"$url\" && mv $temp_fname.tmp $temp_fname");
 | 
	
		
			
			| 102 | 102 |        }
 | 
	
		
			
			| 103 | 103 |        if (-f $temp_fname) {
 | 
	
		
			
			| 104 | 104 |          open(FILE, $temp_fname);
 |