fix optics demo on python3
print warning when setuptools is not available
This commit is contained in:
parent
8fe58449c7
commit
f6b00a135c
|
@ -89,7 +89,7 @@ def wlPen(wl):
|
|||
return pen
|
||||
|
||||
|
||||
class ParamObj:
|
||||
class ParamObj(object):
|
||||
# Just a helper for tracking parameters and responding to changes
|
||||
def __init__(self):
|
||||
self.__params = {}
|
||||
|
|
Loading…
Reference in New Issue