diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 12:24:55 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 12:24:55 +0200 |
| commit | a951d7ba1fb9cd515de8c4216d2928126431b10e (patch) | |
| tree | ad6c1d48eb885be0a2541f5314a67be716055dc4 /live-mogrify.py | |
| parent | feabfcfe6f78ba4d30ca61cfafc124ed3828b545 (diff) | |
vars..
Diffstat (limited to 'live-mogrify.py')
| -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 04c5d69..0560e6e 100644 --- a/live-mogrify.py +++ b/live-mogrify.py @@ -136,7 +136,7 @@ class Listener(): try: new_opt, misc = self.data_opt_parser.parse_known_args([ '--' + key.replace('_', '-'), value ]) print(new_opt) - new_opt_vars = vars(new_opt): + new_opt_vars = vars(new_opt) new_value = new_opt_vars[key] print('set {} {}: {}'.format(type(new_value), key, new_value)) setattr(self.data_opt, key, new_value) |
