Show
Ignore:
Timestamp:
08/30/08 00:58:52 (4 months ago)
Author:
ogawa
Message:

Fix a bug: stop adding trailing double quote to each line
Update version number.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cybozu2ical/trunk/lib/WWW/CybozuOffice6/CalendarDriver/ApiCalendar.pm

    r512 r515  
    6464 
    6565        my $content = $res->content; 
     66        $content =~ s/\r?\n[^\r\n]*$//;    # remove last line 
    6667        from_to( $content, $cal->{input_encoding} || 'shiftjis', 'utf8' ); 
    67         my $line = ( split( /\r?\n/, $content ) )[0]; 
    6868 
    69         # Cybozu bug: may produce broken CSV lines 
    70         $line .= '"' if $line !~ /\"$/; 
    71         push @lines, $line; 
     69        push @lines, $content; 
    7270    } 
    7371