Remove remaining % formatting in logging functions.
This commit is contained in:
@@ -3378,7 +3378,7 @@ def main() -> None:
|
||||
|
||||
try:
|
||||
input_file = open(args.input_file, mode='rb')
|
||||
logger.debug("Type of input file: %s" % type(input_file))
|
||||
logger.debug("Type of input file: %s", type(input_file))
|
||||
except IOError:
|
||||
logger.error("Impossible to open %s", args.input_file)
|
||||
exit(-1)
|
||||
@@ -3783,7 +3783,7 @@ def main() -> None:
|
||||
|
||||
logger.info(sts)
|
||||
if len(sts) > 0:
|
||||
logger.info('Supported languages: %s' % supported_langs)
|
||||
logger.info('Supported languages: %s', supported_langs)
|
||||
list_of_subtitles = extract_srt(paths['mkvextract'], final_with_video_name, sts,
|
||||
supported_langs)
|
||||
logger.info(list_of_subtitles)
|
||||
|
||||
Reference in New Issue
Block a user