fix target format for external format-filter-server

According to cc435eac37/code/conversion.js (L17) the target_format should be "odt".

The format-filter-server returns an empty response otherwise.
pull/1/head
aaukt 10 years ago
parent 14d92a5df9
commit 6ae84ff682

@ -30,7 +30,7 @@ class Converter {
public static function checkConnection(){ public static function checkConnection(){
$expected = file_get_contents(__DIR__ . '/response.odt'); $expected = file_get_contents(__DIR__ . '/response.odt');
$converted = self::convertExternal('', 'application/vnd.oasis.opendocument.text'); $converted = self::convertExternal('', 'odt');
return $converted === $expected; return $converted === $expected;
} }

Loading…
Cancel
Save