Vue d'autocomplétion générique dans shared.views
pour factoriser les 3 autocomplétions (COF + BDS + K-Fêt) #730
1 changed files with 2 additions and 2 deletions
|
@ -115,8 +115,8 @@ class ICalMixin:
|
|||
return False
|
||||
return True
|
||||
|
||||
def _find_event(self, ev, l):
|
||||
for i, elt in enumerate(l):
|
||||
def _find_event(self, ev, rem):
|
||||
for i, elt in enumerate(rem):
|
||||
if self._test_event_equal(ev, elt):
|
||||
return i
|
||||
return None
|
||||
|
|
Loading…
Reference in a new issue