fixed issue 1366, minor rewrite in retrieve, thanks Dominic
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.4.2-stable+timestamp.2013.03.08.10.05.09
|
||||
Version 2.4.2-stable+timestamp.2013.03.08.10.16.16
|
||||
|
||||
+2
-1
@@ -9262,7 +9262,8 @@ class Field(Expression):
|
||||
stream = self.uploadfs.open(name, 'rb')
|
||||
else:
|
||||
# ## if file is on regular filesystem
|
||||
stream = pjoin(file_properties['path'], name)
|
||||
fullname = pjoin(file_properties['path'], name)
|
||||
stream = open(fullname,'rb')
|
||||
return (filename, stream)
|
||||
|
||||
def retrieve_file_properties(self, name, path=None):
|
||||
|
||||
Reference in New Issue
Block a user