summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-06-23 14:35:20 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-06-23 14:35:20 +1000
commit1359878f7e305869c8693e5fa70d3553a8b75c70 (patch)
treed4022bb94aef86856b38ff88506ec4f72c5aeeb6
parentf82677c9609929a12d9bb25d9ab200718accb1c0 (diff)
General: Fix comments.
-rwxr-xr-xwal8
1 files changed, 4 insertions, 4 deletions
diff --git a/wal b/wal
index 8e34683..939e831 100755
--- a/wal
+++ b/wal
@@ -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",