Skip to content

Commit efec3ab

Browse files
committed
fix: lint
1 parent 2572749 commit efec3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loopstructural/gui/visualisation/object_list_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def add_object_from_qgis_layer(self):
425425
return
426426

427427
# Ensure X,Y,Z columns present
428-
if not set(["X", "Y", "Z"]).issubset(df.columns):
428+
if not {"X", "Y", "Z"}.issubset(df.columns):
429429
QMessageBox.warning(self, "Invalid data", "Layer conversion did not produce X/Y/Z columns.")
430430
return
431431

0 commit comments

Comments
 (0)