Skip to content
Permalink
Browse files

[FIX] resource: current_interval not converted into namedtuple

  • Loading branch information...
c-engelhardt-ecoservice committed May 15, 2019
1 parent aefbd6d commit 8fd339af4e7f0d1f6e81d9a627994a1bee8f45f1
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/resource/models/resource.py
@@ -153,7 +153,7 @@ def _interval_merge(self, intervals):
cleaned.append(working_interval)
working_interval = self._interval_new(*current_interval)
elif working_interval[1] < current_interval[1]: # union of greater intervals
working_interval = self._interval_or(working_interval, current_interval)
working_interval = self._interval_or(working_interval, self._interval_new(*current_interval))
if working_interval: # handle void lists
cleaned.append(working_interval)
return cleaned

0 comments on commit 8fd339a

Please sign in to comment.
You can’t perform that action at this time.