hound fixes

This commit is contained in:
Jakub Trllo 2022-02-21 19:32:03 +01:00
parent f69a9055bd
commit 5bbfca8dc5
3 changed files with 3 additions and 3 deletions

View file

@ -253,6 +253,7 @@ class DetailsPopup(QtWidgets.QDialog):
self._center_widget = center_widget
self._first_show = True
self._layout = layout
def showEvent(self, event):
layout = self.layout()

View file

@ -123,12 +123,12 @@ class LoadedFilesMopdel(QtGui.QStandardItemModel):
return
new_items = []
for filepath in filtered_paths:
for normalized_path in filtered_paths:
try:
with open(normalized_path, "r") as stream:
data = json.load(stream)
report = PublishReport(data)
except Exception as exc:
except Exception:
# TODO handle errors
continue

View file

@ -13,7 +13,6 @@ from avalon.api import AvalonMongoDB
from openpype.hosts.traypublisher import (
api as traypublisher
)
from openpype.hosts.traypublisher.api.pipeline import HostContext
from openpype.tools.publisher import PublisherWindow
from openpype.tools.utils.constants import PROJECT_NAME_ROLE
from openpype.tools.utils.models import (