From: vunhat_minh Date: Fri, 31 Jul 2015 06:19:42 +0000 (+0900) Subject: autopep8 X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=commitdiff_plain;h=fd2da0c3ea222efdbc582e25299b08ebbe7ed45f;ds=sidebyside autopep8 --- diff --git a/rainbowstream/c_image.py b/rainbowstream/c_image.py index 7578753..a044e07 100644 --- a/rainbowstream/c_image.py +++ b/rainbowstream/c_image.py @@ -79,7 +79,7 @@ def image_to_display(path, start=None, length=None): for x in xrange(width): y = real_y * 2 p0 = i.getpixel((x, y)) - p1 = i.getpixel((x, y+1)) + p1 = i.getpixel((x, y + 1)) block_print(p1, p0) sys.stdout.write('\n') diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 578754f..e7eede6 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -44,7 +44,7 @@ def parse_arguments(): parser.add_argument( '-s', '--stream', - default="mine", + default="mine", help='Default stream after program start. (Default: mine)') parser.add_argument( '-to', @@ -657,7 +657,7 @@ def urlopen(): return else: for url in urls: - expanded_url = url['expanded_url'] + expanded_url = url['expanded_url'] webbrowser.open(expanded_url) except: debug_option() @@ -2231,7 +2231,7 @@ def fly(): # Spawn stream thread target = args.stream.split()[0] - if target == 'mine' : + if target == 'mine': spawn_personal_stream(args) else: try: