Scene Manager: Update all to latest bug
## Bug

Running **Maya 2023** and running update all command in scene inventory. It produce this traceback:

```
# Traceback (most recent call last):
#   File "C:\\Users\\annat\\Documents\\Projects\\OpenPype\\sources\\OpenPype\\openpype\\tools\\sceneinventory\\window.py", line 171, in _on_update_all
#     self._view.update_all()
#   File "C:\\Users\\annat\\Documents\\Projects\\OpenPype\\sources\\OpenPype\\openpype\\tools\\sceneinventory\\view.py", line 844, in update_all
#     update_container(item, -1)
#   File "C:\\Users\\annat\\Documents\\Projects\\OpenPype\\sources\\OpenPype\\openpype\\pipeline\\load\\utils.py", line 477, in update_container
#     return loader.update(container, new_representation)
#   File "C:\\Users\\annat\\Documents\\Projects\\OpenPype\\sources\\OpenPype\\openpype\\hosts\\maya\\plugins\\load\\load_look.py", line 107, in update
#     msg = ScrollMessageBox(QtWidgets.QMessageBox.Warning,
#   File "C:\\Users\\annat\\Documents\\Projects\\OpenPype\\sources\\OpenPype\\openpype\\widgets\\message_window.py", line 117, in __init__
#     scroll_widget.setMinimumWidth(min(max_width, max_len * 6))
# TypeError: '<' not supported between instances of 'int' and 'builtin_function_or_method'
```


[cuID:[OP-4666](https://app.clickup.com/t/861m3ywnu)]
diff --git a/openpype/widgets/message_window.py b/openpype/widgets/message_window.py
index 94e51f5d4f..a44df2ec8e 100644
--- a/openpype/widgets/message_window.py
+++ b/openpype/widgets/message_window.py
@@ -105,16 +105,19 @@ class ScrollMessageBox(QtWidgets.QDialog):
         content_widget = QtWidgets.QWidget(self)
         scroll_widget.setWidget(content_widget)
 
-        max_len = 0
+        message_len = 0
         content_layout = QtWidgets.QVBoxLayout(content_widget)
         for message in messages:
             label_widget = QtWidgets.QLabel(message, content_widget)
             content_layout.addWidget(label_widget)
-            max_len = max(max_len, len(message))
+            message_len = max(message_len, len(message))
 
         # guess size of scrollable area
-        max_width = QtWidgets.QApplication.desktop().availableGeometry().width
-        scroll_widget.setMinimumWidth(min(max_width, max_len * 6))
+        desktop = QtWidgets.QApplication.desktop()
+        max_width = desktop.availableGeometry().width()
+        scroll_widget.setMinimumWidth(
+            min(max_width, message_len * 6)
+        )
         layout.addWidget(scroll_widget)
 
         if not cancelable:  # if no specific buttons OK only
['openpype/widgets/message_window.py']