Replace set() with a literal

This commit is contained in:
blitzmann
2018-09-15 23:44:32 -04:00
parent f0353a7dd7
commit 5c6303995d

View File

@@ -26,7 +26,7 @@ class CommandFits(ContextMenu):
if evt is not None:
ids = getattr(evt, 'typeID')
if not isinstance(ids, set):
ids = set([ids])
ids = {ids}
if evt is None or not ids.isdisjoint(cls.commandTypeIDs):
# we are adding or removing an item that defines a command fit. Need to refresh fit list