diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-06-23 14:35:20 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-06-23 14:35:20 +1000 |
| commit | 1359878f7e305869c8693e5fa70d3553a8b75c70 (patch) | |
| tree | d4022bb94aef86856b38ff88506ec4f72c5aeeb6 | |
| parent | f82677c9609929a12d9bb25d9ab200718accb1c0 (diff) | |
General: Fix comments.
| -rwxr-xr-x | wal | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env python """ wal - Generate and change colorschemes on the fly. -Created by Dylan Araps +Created by Dylan Araps. """ import argparse import os @@ -79,7 +79,7 @@ def get_args(): def process_args(args): - """Process args""" + """Process args.""" # If no args were passed. if not len(sys.argv) > 1: print("error: wal needs to be given arguments to run.\n" @@ -196,7 +196,7 @@ def gen_colors(img): "color palette, trying a larger palette size", COLOR_COUNT + index) - # Remove the first element, which isn"t a color. + # Remove the first element, which isn't a color. del raw_colors[0] # Create a list of hex colors. @@ -293,7 +293,7 @@ def set_color(index, color): def set_grey(colors): - """Set a grey color based on brightness of color0""" + """Set a grey color based on brightness of color0.""" return { 0: "#666666", 1: "#666666", |
