From d28c8f18b06e776b312e646667f911efe772b008 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Sun, 9 Mar 2014 22:41:34 -0500 Subject: [PATCH] pep8 logic fix --- speedtest_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speedtest_cli.py b/speedtest_cli.py index 94500ee..21f2245 100755 --- a/speedtest_cli.py +++ b/speedtest_cli.py @@ -184,7 +184,7 @@ def get_attributes_by_tag_name(dom, tag_name): def print_dots(current, total, start=False, end=False): sys.stdout.write('.') - if current + 1 == total and end == True: + if current + 1 == total and end is True: sys.stdout.write('\n') sys.stdout.flush()