Skip to content

Commit

Permalink
Correction to the params of len
Browse files Browse the repository at this point in the history
  • Loading branch information
heldersepu committed Jun 2, 2016
1 parent ee47ec2 commit bd6bfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmapcatcher/mapDownloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def __init__(self, iterable=None, maxlen=0):
if iterable is None:
self.length = 0
else:
self.length = max(len(iterable, maxlen))
self.length = max(len(iterable), maxlen)
for i in range(self.length):
self.stack.append(iterable[i])
self.pending = 0
Expand Down

0 comments on commit bd6bfd0

Please sign in to comment.