Fixed import of empty file from Dropbox. Fixes #305

This commit is contained in:
benweet 2014-02-09 17:49:37 +00:00
parent 6426d65d1c
commit 891260dd4e

View File

@ -232,7 +232,7 @@ define([
return;
}
client.readFile(file.path, function(error, data) {
if(data) {
if(_.isString(data)) {
file.content = data;
objects.shift();
task.chain(recursiveDownloadContent);