Skip to content

Commit a1b2a66

Browse files
committed
initialize self._last_update_phrase var
#33 error when nothing to resume
1 parent e67081e commit a1b2a66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

django_elastic_migrations/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,7 @@ def perform_action(self, dem_index, *args, **kwargs):
10141014
)
10151015
elif self.resume_mode:
10161016
self._last_update = self.index_version.get_last_time_update_called(before_action=self)
1017+
self._last_update_phrase = self._last_update
10171018
if not self._last_update:
10181019
self._last_update_phrase = 'never'
10191020
self.add_log(

0 commit comments

Comments
 (0)