pep8: Fix object comparisons
This commit is contained in:
parent
c02ab5f2c5
commit
4f897a8675
4 changed files with 4 additions and 4 deletions
|
|
@ -229,7 +229,7 @@ class WeboobCfg(ReplApplication):
|
|||
first = True
|
||||
for key, field in module.config.iteritems():
|
||||
value = field.label
|
||||
if not field.default is None:
|
||||
if field.default is not None:
|
||||
value += ' (default: %s)' % field.default
|
||||
if first:
|
||||
print('| | ')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue