We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce195ac commit 6720ab6Copy full SHA for 6720ab6
ami/main/models.py
@@ -1216,7 +1216,7 @@ def event_total_captures(self) -> int | None:
1216
1217
def get_dimensions(self) -> tuple[int | None, int | None]:
1218
"""Calculate the width and height of the original image."""
1219
- if self.path and self.deployment and self.deployment.data_sourcemanually_uploaded_captures:
+ if self.path and self.deployment and self.deployment.data_source:
1220
config = self.deployment.data_source.config
1221
try:
1222
img = ami.utils.s3.read_image(config=config, key=self.path)
0 commit comments