[common] pass job status to 'finalize()'
This commit is contained in:
@@ -672,8 +672,8 @@ class TwitterExtractor(Extractor):
|
||||
def tweets(self):
|
||||
"""Yield all relevant tweet objects"""
|
||||
|
||||
def finalize(self):
|
||||
if self._cursor:
|
||||
def finalize(self, status):
|
||||
if status and self._cursor:
|
||||
self.log.info("Use '-o cursor=%s' to continue downloading "
|
||||
"from the current position", self._cursor)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user