diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 12:09:58 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 12:09:58 +0200 |
| commit | 211908a68fc11f329ac2287c58580282c7439e8c (patch) | |
| tree | 1b00c7950e7b960a780a7407760e381ab768e703 | |
| parent | 5c19d3642efa2f4492130e246687d16db1fdeb87 (diff) | |
vars..
| -rw-r--r-- | live-mogrify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/live-mogrify.py b/live-mogrify.py index 0a03a39..d29f5c9 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 = data_opt_parser.parse_known_args([ key, value ]) + new_opt = self.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) |
