From f6b447f6e7e31a91cc4c444a76780dd12277ae08 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 28 Jan 2010 08:54:47 +0000 Subject: [PATCH] fix for "NameError: global name 'webFileStreamUpload' is not defined" --- lib/takeover/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/takeover/web.py b/lib/takeover/web.py index 51107435a..d347da32c 100644 --- a/lib/takeover/web.py +++ b/lib/takeover/web.py @@ -77,7 +77,7 @@ class Web: def webFileUpload(self, fileToUpload, destFileName, directory): file = open(fileToUpload, "r") - webFileStreamUpload(self, file, destFileName, directory) + self.webFileStreamUpload(self, file, destFileName, directory) file.close() def webFileStreamUpload(self, stream, destFileName, directory):