aboutsummaryrefslogtreecommitdiff
path: root/name2color.py
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 /name2color.py
parent02b8f73d1e7e5b8c998d2c870de5d2602987e7b4 (diff)
...
Diffstat (limited to 'name2color.py')
-rwxr-xr-xname2color.py4
1 files changed, 2 insertions, 2 deletions
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: