We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ca389 commit a45558eCopy full SHA for a45558e
odml/tools/converters/format_converter.py
@@ -79,7 +79,7 @@ def convert(cls, args=None):
79
parser.add_argument("-r", "--recursive", action="store_true",
80
help="Enable converting files from subdirectories")
81
args = parser.parse_args(args)
82
- recursive = True if args.recursive else False
+ recursive = bool(args.recursive)
83
cls.convert_dir(args.input_dir, args.output_dir, recursive, args.result_format)
84
85
@classmethod
0 commit comments