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.
This commit is contained in:
aaukt 2014-10-13 00:09:44 +02:00
parent 14d92a5df9
commit 6ae84ff682

View File

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