Skip to content

Commit 6720ab6

Browse files
committed
Fix typo
1 parent ce195ac commit 6720ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ami/main/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ def event_total_captures(self) -> int | None:
12161216

12171217
def get_dimensions(self) -> tuple[int | None, int | None]:
12181218
"""Calculate the width and height of the original image."""
1219-
if self.path and self.deployment and self.deployment.data_sourcemanually_uploaded_captures:
1219+
if self.path and self.deployment and self.deployment.data_source:
12201220
config = self.deployment.data_source.config
12211221
try:
12221222
img = ami.utils.s3.read_image(config=config, key=self.path)

0 commit comments

Comments
 (0)