Fixing the cache?

This commit is contained in:
Michael Lazar
2017-09-13 01:26:08 -04:00
parent 5c283867da
commit ef0bd42963
5 changed files with 46 additions and 48 deletions

View File

@@ -66,7 +66,6 @@ class SubmissionPage(Page):
self.active = False
@SubmissionController.register(Command('REFRESH'))
def refresh_content(self, order=None, name=None):
"""
Re-download comments and reset the page index
@@ -188,7 +187,7 @@ class SubmissionPage(Page):
time.sleep(2.0)
if self.term.loader.exception is None:
self.refresh_content()
self.reload_page()
else:
raise TemporaryFileError()