Commit 6645d193bfe86dacfd7d78102800b4aa280a5944

Authored by Wong Mun Hou
Committed by GitHub
1 parent c853b1e1

Import reduce from functools

reduce has been moved to functools since python 3
Showing 1 changed file with 2 additions and 0 deletions
oletools/olevba3.py
@@ -77,6 +77,8 @@ https://github.com/unixfreak0037/officeparser @@ -77,6 +77,8 @@ https://github.com/unixfreak0037/officeparser
77 # SOFTWARE. 77 # SOFTWARE.
78 78
79 from __future__ import print_function 79 from __future__ import print_function
  80 +from functools import reduce
  81 +
80 82
81 #------------------------------------------------------------------------------ 83 #------------------------------------------------------------------------------
82 # CHANGELOG: 84 # CHANGELOG: