Fixed import of empty file from Dropbox. Fixes #305
This commit is contained in:
parent
6426d65d1c
commit
891260dd4e
@ -232,7 +232,7 @@ define([
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
client.readFile(file.path, function(error, data) {
|
client.readFile(file.path, function(error, data) {
|
||||||
if(data) {
|
if(_.isString(data)) {
|
||||||
file.content = data;
|
file.content = data;
|
||||||
objects.shift();
|
objects.shift();
|
||||||
task.chain(recursiveDownloadContent);
|
task.chain(recursiveDownloadContent);
|
||||||
|
Loading…
Reference in New Issue
Block a user