diff --git a/pype/standalonepublish/widgets/widget_family.py b/pype/standalonepublish/widgets/widget_family.py index a2276bf7f9..9a347cbeab 100644 --- a/pype/standalonepublish/widgets/widget_family.py +++ b/pype/standalonepublish/widgets/widget_family.py @@ -245,10 +245,8 @@ class FamilyWidget(QtWidgets.QWidget): asset_name = self.input_asset.text() subset_name = self.input_result.text() if ( - ( - asset_name.strip() != '' or - asset_name == self.parent_widget.NOT_SELECTED - ) and subset_name.strip() != '' + asset_name != self.parent_widget.NOT_SELECTED and + subset_name.strip() != '' ): asset = self.db.find_one({ 'type': 'asset',