mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Remove legacy code
This commit is contained in:
parent
d00fa72892
commit
cd5303ef7b
1 changed files with 5 additions and 11 deletions
|
|
@ -267,17 +267,11 @@ class DeliveryOptionsDialog(QtWidgets.QDialog):
|
||||||
new_report_items, uploaded = deliver_single_file(*args)
|
new_report_items, uploaded = deliver_single_file(*args)
|
||||||
report_items.update(new_report_items)
|
report_items.update(new_report_items)
|
||||||
self._update_progress(uploaded)
|
self._update_progress(uploaded)
|
||||||
else: # fallback for Pype2 and representations without files
|
else:
|
||||||
frame = repre["context"].get("frame")
|
raise ValueError(
|
||||||
if frame:
|
"Representation entity is lacking `files`."
|
||||||
repre["context"]["frame"] = len(str(frame)) * "#"
|
f" Unable to process entity: {repre}"
|
||||||
|
)
|
||||||
if not frame:
|
|
||||||
new_report_items, uploaded = deliver_single_file(*args)
|
|
||||||
else:
|
|
||||||
new_report_items, uploaded = deliver_sequence(*args)
|
|
||||||
report_items.update(new_report_items)
|
|
||||||
self._update_progress(uploaded)
|
|
||||||
|
|
||||||
self.text_area.setText(self._format_report(report_items))
|
self.text_area.setText(self._format_report(report_items))
|
||||||
self.text_area.setVisible(True)
|
self.text_area.setVisible(True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue