Closed thomasmfish closed 2 years ago
I got the error 'NoneType' object has no attribute 'wavelength' when starting cockpit due to the check if self.power.wavelength == None when self.power is None. This is from the most recent commit.
'NoneType' object has no attribute 'wavelength'
if self.power.wavelength == None
self.power
None
I've suggested a PR, since it's a small fix.
Closing as duplicated of issue #700.
I was too quick, it's not really duplicated but it is related. I'm reopening.
I think this is covered by the fix for #700 and pr #811
I got the error
'NoneType' object has no attribute 'wavelength'
when starting cockpit due to the checkif self.power.wavelength == None
whenself.power
isNone
. This is from the most recent commit.I've suggested a PR, since it's a small fix.