diff --git a/client/ayon_flame/api/lib.py b/client/ayon_flame/api/lib.py index 94e4bb8..cece623 100644 --- a/client/ayon_flame/api/lib.py +++ b/client/ayon_flame/api/lib.py @@ -826,7 +826,7 @@ def __init__(self, path, logger=None): self._get_resolution_info_from_origin(xml_data) # log image-based info if not a pure audio media - if hasattr("width", self): + if hasattr(self, "width"): self.log.debug("width: {}".format(self.width)) self.log.debug("height: {}".format(self.height)) self.log.debug("pixel aspect: {}".format(self.pixel_aspect))