summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-14 14:24:30 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-14 14:24:30 +0200
commit2b677e3b9cc627c65b071820f6f60462d59ece28 (patch)
treec8c472bd8a958520f1d09f21b76e4d745c8426a7
parent3f56f87c01b5bb10e68ca16342c462c9f1df1976 (diff)
sequence without recursion
-rw-r--r--live-mogrify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/live-mogrify.py b/live-mogrify.py
index bad6d78..9f3c8a3 100644
--- a/live-mogrify.py
+++ b/live-mogrify.py
@@ -230,7 +230,7 @@ class Listener():
new_opt, misc = self.data_opt_parser.parse_known_args([ '--' + key.replace('_', '-'), str(value) ])
new_value = getattr(new_opt, key)
setattr(self.data_opt, key, new_value)
- print('set {} {}: {}'.format(type(new_value), key, new_value))
+ print('set {} {}: {} [{}]'.format(type(new_value), key, new_value, value))
except Exception as e:
print('error {} - cant set value {}: {}'.format(e, key, value))
def _get_fn(self):