fix for "NameError: global name 'webFileStreamUpload' is not defined"

This commit is contained in:
Miroslav Stampar 2010-01-28 08:54:47 +00:00
parent a20bbc3974
commit f6b447f6e7

View File

@ -77,7 +77,7 @@ class Web:
def webFileUpload(self, fileToUpload, destFileName, directory): def webFileUpload(self, fileToUpload, destFileName, directory):
file = open(fileToUpload, "r") file = open(fileToUpload, "r")
webFileStreamUpload(self, file, destFileName, directory) self.webFileStreamUpload(self, file, destFileName, directory)
file.close() file.close()
def webFileStreamUpload(self, stream, destFileName, directory): def webFileStreamUpload(self, stream, destFileName, directory):