Fix - join needs list

This commit is contained in:
Petr Kalis 2022-12-13 17:28:20 +01:00
parent ad9f185816
commit b7afb84d6c

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)