fix latest flake8 error (#135)
This commit is contained in:
parent
d227f35964
commit
feec16c4fe
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class PowerSupply():
|
|||
|
||||
sn = psu.get('Serial Number', '').strip()
|
||||
# Let's assume that if no serial and no power reported we skip it
|
||||
if sn == '' and max_power == None:
|
||||
if sn == '' and max_power is None:
|
||||
continue
|
||||
if sn == '':
|
||||
sn = 'N/A'
|
||||
|
|
Loading…
Reference in a new issue