Accommodate chunk_sequence which now always yields lists.
This commit is contained in:
		
							parent
							
								
									c5fbcf0056
								
							
						
					
					
						commit
						0b4542089b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -866,7 +866,7 @@ class Photo(ObjectBase): | |||
|         ''' | ||||
|         Create the filepath that should be the location of our thumbnail. | ||||
|         ''' | ||||
|         chunked_id = helpers.chunk_sequence(self.id, 3) | ||||
|         chunked_id = [''.join(chunk) for chunk in helpers.chunk_sequence(self.id, 3)] | ||||
|         (folder, basename) = (chunked_id[:-1], chunked_id[-1]) | ||||
|         folder = os.sep.join(folder) | ||||
|         folder = self.photodb.thumbnail_directory.join(folder) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue