mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Update ImportHandler.js
This commit is contained in:
parent
6d38b05623
commit
b74c43889e
1 changed files with 0 additions and 1 deletions
|
@ -117,7 +117,6 @@ exports.doImport = function(req, res, padId)
|
||||||
var fileEnding = path.extname(srcFile).toLowerCase();
|
var fileEnding = path.extname(srcFile).toLowerCase();
|
||||||
var fileIsHTML = (fileEnding === ".html" || fileEnding === ".htm");
|
var fileIsHTML = (fileEnding === ".html" || fileEnding === ".htm");
|
||||||
if (abiword && !fileIsHTML) {
|
if (abiword && !fileIsHTML) {
|
||||||
console.warn("Using abiword");
|
|
||||||
abiword.convertFile(srcFile, destFile, "htm", function(err) {
|
abiword.convertFile(srcFile, destFile, "htm", function(err) {
|
||||||
//catch convert errors
|
//catch convert errors
|
||||||
if(err) {
|
if(err) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue