rosbag: fix --key behaviour with Boolean values
This commit is contained in:
parent
bda22f8003
commit
4156aadb9a
|
@ -117,7 +117,7 @@ def info_cmd(argv):
|
|||
b = Bag(arg)
|
||||
if options.yaml:
|
||||
info = b._get_yaml_info(key=options.key)
|
||||
if info:
|
||||
if info is not None:
|
||||
print info
|
||||
else:
|
||||
print b
|
||||
|
|
Loading…
Reference in New Issue