progress: Resolve E714
E714: test for object identity should be ‘is not’ Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
This commit is contained in:
parent
6d125cca72
commit
19b3d2ac66
|
@ -115,7 +115,7 @@ class BaseMeter:
|
|||
|
||||
# size = None ######### TESTING
|
||||
self.size = size
|
||||
if not size is None:
|
||||
if size is not None:
|
||||
self.fsize = format_number(size) + 'B'
|
||||
|
||||
if now is None:
|
||||
|
|
Loading…
Reference in New Issue