summaryrefslogtreecommitdiff
path: root/live-mogrify.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-21 12:09:02 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-21 12:09:02 +0200
commit5c19d3642efa2f4492130e246687d16db1fdeb87 (patch)
tree250291eba62c594f3025dfb1aa6c239b37757721 /live-mogrify.py
parent6647cd548099ea7b3b601adf395116eab1a3c4a1 (diff)
vars..
Diffstat (limited to 'live-mogrify.py')
-rw-r--r--live-mogrify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/live-mogrify.py b/live-mogrify.py
index ce28cee..0a03a39 100644
--- a/live-mogrify.py
+++ b/live-mogrify.py
@@ -134,7 +134,7 @@ class Listener():
def _set_fn(self, key, value):
if hasattr(self.data_opt, key):
try:
- new_opt = parser.parse_known_args([ key, value ])
+ new_opt = data_opt_parser.parse_known_args([ key, value ])
new_value = getattr(new_opt, key)
print('set {} {}: {}'.format(type(value), key, new_value))
setattr(self.data_opt, key, new_value)