Skip to content

Commit

Permalink
Migration to v13: image resizing, part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
DocMarty84 committed Dec 11, 2019
1 parent f541d85 commit c87f7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/oomusic_folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def _set_image_small(self):

def _set_image_value(self, value):
for folder in self:
folder.image_folder = tools.image_resize_image_big(value)
folder.image_folder = tools.image_process(value, size=(1024, 1024), crop=True)

@api.model
def create(self, vals):
Expand Down

0 comments on commit c87f7f2

Please sign in to comment.