Fixed thumbnail data fallback
This commit is contained in:
parent
3cfbb40655
commit
32ec2b463d
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ class CaptureObject(object):
|
|||
if thumbnail:
|
||||
return io.BytesIO(thumbnail)
|
||||
# If no thumbnail exists, serve the full image
|
||||
return self.data.getvalue()
|
||||
return self.data
|
||||
|
||||
def save(self) -> None:
|
||||
"""Write stream to file, and save/update metadata file"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue