mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
remove outdated docstring info
This commit is contained in:
parent
dde471332f
commit
5c17102d16
1 changed files with 1 additions and 6 deletions
|
|
@ -169,12 +169,7 @@ class IntegrateThumbnailsAYON(pyblish.api.ContextPlugin):
|
||||||
return os.path.normpath(filled_path)
|
return os.path.normpath(filled_path)
|
||||||
|
|
||||||
def _create_thumbnail(self, project_name: str, src_filepath: str) -> str:
|
def _create_thumbnail(self, project_name: str, src_filepath: str) -> str:
|
||||||
"""Upload thumbnail to AYON and return its id.
|
"""Upload thumbnail to AYON and return its id."""
|
||||||
|
|
||||||
This is temporary fix of 'create_thumbnail' function in ayon_api to
|
|
||||||
fix jpeg mime type.
|
|
||||||
|
|
||||||
"""
|
|
||||||
mime_type = get_media_mime_type(src_filepath)
|
mime_type = get_media_mime_type(src_filepath)
|
||||||
if mime_type is None:
|
if mime_type is None:
|
||||||
return ayon_api.create_thumbnail(
|
return ayon_api.create_thumbnail(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue