diff --git a/public/res/helpers/dropboxHelper.js b/public/res/helpers/dropboxHelper.js index 5385f387..3a41f3a6 100644 --- a/public/res/helpers/dropboxHelper.js +++ b/public/res/helpers/dropboxHelper.js @@ -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);