summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-21 13:18:51 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-21 13:18:51 +0200
commit6984d1b09f88d39b7bc4775871cece6f6c409b97 (patch)
treee3eac405e1fab8d904343bbccc609756300a6207
parent041061cad41141748bb6803f63cce06cfa764df1 (diff)
vars..
-rw-r--r--live-mogrify.py4
1 files changed, 2 insertions, 2 deletions
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)