From 6984d1b09f88d39b7bc4775871cece6f6c409b97 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 21 May 2018 13:18:51 +0200 Subject: vars.. --- live-mogrify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'live-mogrify.py') diff --git a/live-mogrify.py b/live-mogrify.py index 63a7962..4327f69 100644 --- a/live-mogrify.py +++ b/live-mogrify.py @@ -136,10 +136,10 @@ class Listener(): try: if str(value) == 'True': setattr(self.data_opt, key, True) - print('set {} {}: {}'.format(type(new_value), key, True)) + print('set {} {}: {}'.format('bool', key, True)) elif str(value) == 'False': setattr(self.data_opt, key, False) - print('set {} {}: {}'.format(type(new_value), key, False)) + print('set {} {}: {}'.format('bool', key, False)) else: new_opt, misc = self.data_opt_parser.parse_known_args([ '--' + key.replace('_', '-'), str(value) ]) new_value = getattr(new_opt, key) -- cgit v1.2.3-70-g09d2