Update ImportHandler.js

This commit is contained in:
John McLear 2014-05-09 13:50:00 +01:00
parent 6d38b05623
commit b74c43889e

View file

@ -117,7 +117,6 @@ exports.doImport = function(req, res, padId)
var fileEnding = path.extname(srcFile).toLowerCase();
var fileIsHTML = (fileEnding === ".html" || fileEnding === ".htm");
if (abiword && !fileIsHTML) {
console.warn("Using abiword");
abiword.convertFile(srcFile, destFile, "htm", function(err) {
//catch convert errors
if(err) {