Merge pull request #4224 from pypeclub/bugfix/files_widget_join_issue

TrayPublisher - join needs list
This commit is contained in:
Jakub Trllo 2022-12-13 17:49:13 +01:00 committed by GitHub
commit 660ece0142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,7 +155,7 @@ class DropEmpty(QtWidgets.QWidget):
extensions_label = " or ".join(allowed_items)
else:
last_item = allowed_items.pop(-1)
new_last_item = " or ".join(last_item, allowed_items.pop(-1))
new_last_item = " or ".join([last_item, allowed_items.pop(-1)])
allowed_items.append(new_last_item)
extensions_label = ", ".join(allowed_items)