Loading rpc/methods.py +1 −1 Original line number Diff line number Diff line Loading @@ -3113,4 +3113,4 @@ def auto_find_rotate_angle(user: User, resource_id: int) -> float: raise ServiceException(NOT_A_FILE) if not resource_instance.file.should_have_iiif(): raise ServiceException(NOT_AN_IMAGE) return _deskew2(resource_instance.file.local_path()) return _deskew(resource_instance.file.local_path()) Loading
rpc/methods.py +1 −1 Original line number Diff line number Diff line Loading @@ -3113,4 +3113,4 @@ def auto_find_rotate_angle(user: User, resource_id: int) -> float: raise ServiceException(NOT_A_FILE) if not resource_instance.file.should_have_iiif(): raise ServiceException(NOT_AN_IMAGE) return _deskew2(resource_instance.file.local_path()) return _deskew(resource_instance.file.local_path())