aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-05-22 13:34:11 -0400
committerDeterminant <tederminant@gmail.com>2020-05-22 13:34:11 -0400
commit43ad87e5dbd95f3a562e9447c670b8e9fedc75db (patch)
tree74dc7f09d49730beebfbccb4d1ed652d299d2c72
parent02b8f73d1e7e5b8c998d2c870de5d2602987e7b4 (diff)
...
-rw-r--r--README.rst2
-rwxr-xr-xname2color.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 4064bf8..6ad28b7 100644
--- a/README.rst
+++ b/README.rst
@@ -12,7 +12,7 @@ Also works for powerline haters with default setting.
.. raw:: html
<div align="center">
- <img src="https://raw.githubusercontent.com/Determinant/tmux-colortag/master/no-powerline-symbol.png" width="85%">
+ <img src="https://raw.githubusercontent.com/Determinant/tmux-colortag/master/no-powerline-symbol.png" width="80%">
</div>
What's This?
diff --git a/name2color.py b/name2color.py
index e1be6cb..e407a5a 100755
--- a/name2color.py
+++ b/name2color.py
@@ -55,16 +55,16 @@ if args.idx < 0 or args.idx >= 1024:
if args.clear_idx:
try:
del state[args.idx]
- changed = True
except Exception:
pass
+ changed = True
if args.clear_name:
try:
del state[args.name]
- changed = True
except Exception:
pass
+ changed = True
if not (args.color_idx is None):
if args.color_idx < 0 and args.color_idx >= 256: