models: minor: explicitly test for axisOrder is None
389cf7c56a (r32585140)
This commit is contained in:
parent
694b57754c
commit
f8c7950e48
@ -194,7 +194,7 @@ class VariationModel(object):
|
||||
raise ValueError("locations must be unique")
|
||||
|
||||
self.origLocations = locations
|
||||
self.axisOrder = axisOrder if axisOrder else []
|
||||
self.axisOrder = axisOrder if axisOrder is not None else []
|
||||
|
||||
locations = [{k:v for k,v in loc.items() if v != 0.} for loc in locations]
|
||||
keyFunc = self.getMasterLocationsSortKeyFunc(locations, axisOrder=self.axisOrder)
|
||||
|
Loading…
x
Reference in New Issue
Block a user