Traceback (most recent call last):
File "C:\Users\pixel\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 1702, in __call__
return self.func(*args)
File "application.py", line 975, in set_white
for spectrum in tp_scopes.values():
AttributeError: 'NoneType' object has no attribute 'values'
Windows-7-6.1.7601-SP1 CPython-3.6.5