Fixes #714
This commit is contained in:
		
				
					committed by
					
						 David Bordeynik
						David Bordeynik
					
				
			
			
				
	
			
			
			
						parent
						
							2d075c4dd6
						
					
				
				
					commit
					ce2b148dd2
				
			| @@ -1357,6 +1357,7 @@ class GridFSProxy(object): | |||||||
|     def new_file(self, **kwargs): |     def new_file(self, **kwargs): | ||||||
|         self.newfile = self.fs.new_file(**kwargs) |         self.newfile = self.fs.new_file(**kwargs) | ||||||
|         self.grid_id = self.newfile._id |         self.grid_id = self.newfile._id | ||||||
|  |         self._mark_as_changed() | ||||||
|  |  | ||||||
|     def put(self, file_obj, **kwargs): |     def put(self, file_obj, **kwargs): | ||||||
|         if self.grid_id: |         if self.grid_id: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user