Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed broken iterator on folder_list

  • Loading branch information...
commit 85d006e7f902da06ca2ea902300785a8d36faf7a 1 parent d98bd13
Sebastian Oliva tian2992 authored

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. +5 5 minus/list.py
10 minus/list.py
@@ -76,15 +76,15 @@ def next(self):
76 76 if not self._initialized:
77 77 self._initialize()
78 78
79   - if self.current >= self._total:
  79 + if self._current >= self._total:
80 80 raise StopIteration
81 81
82 82 try:
83   - next_item = self._items[self.current]
  83 + next_item = self._items[self._current]
84 84 except KeyError:
85   - self._get_page(int(self.current / self._per_page))
86   - next_item = self._items[self.current]
  85 + self._get_page(int(self._current / self._per_page))
  86 + next_item = self._items[self._current]
87 87
88   - self.current += 1
  88 + self._current += 1
89 89 return next_item
90 90

0 comments on commit 85d006e

Please sign in to comment.
Something went wrong with that request. Please try again.