Commit b827e4da5ea742d6db2804df0f4a3456d501608f

Authored by Samir Aguiar
Committed by Christian Herdtweck
1 parent 63a70056

msodde: use the print_str() instead

Showing 1 changed file with 4 additions and 4 deletions
oletools/msodde.py
... ... @@ -939,8 +939,8 @@ def main(cmd_line_args=None):
939 939 global NO_QUOTES
940 940 NO_QUOTES = True
941 941  
942   - logger.log_at_current_level(BANNER)
943   - logger.log_at_current_level('Opening file: %s' % args.filepath)
  942 + logger.print_str(BANNER)
  943 + logger.print_str('Opening file: %s' % args.filepath)
944 944  
945 945 text = ''
946 946 return_code = 1
... ... @@ -950,8 +950,8 @@ def main(cmd_line_args=None):
950 950 except Exception as exc:
951 951 logger.exception(exc.message)
952 952  
953   - logger.log_at_current_level('DDE Links:')
954   - logger.log_at_current_level(text)
  953 + logger.print_str('DDE Links:')
  954 + logger.print_str(text)
955 955  
956 956 log_helper.end_logging()
957 957  
... ...