fix latest flake8 error

This commit is contained in:
Solvik Blum 2020-06-15 15:40:37 +02:00
commit 66522bed10

View file

@ -32,7 +32,7 @@ class PowerSupply():
sn = psu.get('Serial Number', '').strip() sn = psu.get('Serial Number', '').strip()
# Let's assume that if no serial and no power reported we skip it # 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 continue
if sn == '': if sn == '':
sn = 'N/A' sn = 'N/A'