This may fixes the pdf convert issue

pull/239/merge
Peter 'Pita' Martischka 2011-11-25 16:58:00 -08:00
parent 7296913cb0
commit 932ad0eeeb
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ exports.doImport = function(req, res, padId)
//this allows us to accept source code files like .c or .java
function(callback)
{
var fileEnding = srcFile.split(".")[1];
var fileEnding = srcFile.split(".")[1].toLowerCase();
var knownFileEndings = ["txt", "doc", "docx", "pdf", "odt", "html", "htm"];
//find out if this is a known file ending