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:
parent
14d92a5df9
commit
6ae84ff682
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user