Commit 76626fa9acf602c766fb1a067cc8b46cce4e8c95

Authored by Sébastien Larinier
1 parent 6d69776f

correct bug in print

Showing 1 changed file with 1 additions and 1 deletions
oletools/olevba.py
@@ -2902,7 +2902,7 @@ class VBA_Parser_CLI(VBA_Parser): @@ -2902,7 +2902,7 @@ class VBA_Parser_CLI(VBA_Parser):
2902 """ 2902 """
2903 # print a waiting message only if the output is not redirected to a file: 2903 # print a waiting message only if the output is not redirected to a file:
2904 if sys.stdout.isatty(): 2904 if sys.stdout.isatty():
2905 - print('Analysis...%s\r') 2905 + print('Analysis...\r')
2906 sys.stdout.flush() 2906 sys.stdout.flush()
2907 return [dict(type=kw_type, keyword=keyword, description=description) 2907 return [dict(type=kw_type, keyword=keyword, description=description)
2908 for kw_type, keyword, description in self.analyze_macros(show_decoded_strings, deobfuscate)] 2908 for kw_type, keyword, description in self.analyze_macros(show_decoded_strings, deobfuscate)]