fix latest flake8 error #135

Merged
Solvik merged 1 commit from fix_ci into master 2020-06-15 15:46:10 +02:00
Showing only changes of commit 66522bed10 - Show all commits

View file

@ -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'