Skip to content

Commit

Permalink
fix operation on closed file.
Browse files Browse the repository at this point in the history
  • Loading branch information
xmendez committed Nov 9, 2018
1 parent 62df89a commit 91fae58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wfuzz/plugins/iterators/iterations.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class product(object):
priority = 99

def __init__(self, *i):
self.it = itertools.product(*i)
self.__count = reduce(lambda x, y: x * y.count(), i[1:], i[0].count())
self.it = itertools.product(*i)

def count(self):
return self.__count
Expand Down

0 comments on commit 91fae58

Please sign in to comment.