Exemple #1
0
    def addFile(fileLocation, fileType):

        # save new file
        newFile = Files(file_location=fileLocation, file_type=fileType)
        fileKey = newFile.put()

        return fileKey
    def addFile(fileLocation, fileType):

        # save new file
        newFile = Files(file_location=fileLocation, file_type=fileType)
        fileKey = newFile.put()

        return fileKey