mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
fixed #84 Import bug
This commit is contained in:
parent
e24b8ac93a
commit
da7ddfb5d7
1 changed files with 3 additions and 3 deletions
|
@ -74,9 +74,6 @@ if(os.type().indexOf("Windows") > -1)
|
||||||
//thats much faster, about factor 10
|
//thats much faster, about factor 10
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Queue with the converts we have to do
|
|
||||||
var queue = async.queue(doConvertTask, 1);
|
|
||||||
|
|
||||||
//spawn the abiword process
|
//spawn the abiword process
|
||||||
var abiword = spawn(settings.abiword, ["--plugin", "AbiCommand"]);
|
var abiword = spawn(settings.abiword, ["--plugin", "AbiCommand"]);
|
||||||
|
|
||||||
|
@ -137,6 +134,9 @@ else
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Queue with the converts we have to do
|
||||||
|
var queue = async.queue(doConvertTask, 1);
|
||||||
|
|
||||||
exports.convertFile = function(srcFile, destFile, type, callback)
|
exports.convertFile = function(srcFile, destFile, type, callback)
|
||||||
{
|
{
|
||||||
queue.push({"srcFile": srcFile, "destFile": destFile, "type": type, "callback": callback});
|
queue.push({"srcFile": srcFile, "destFile": destFile, "type": type, "callback": callback});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue