def dismiss_site_message(self, index): self.set_header(b'Cache-Control', 'max-age=0,no-cache,no-store') helpers.remove_site_message(key=index) return sickbeard.SITE_MESSAGES
def dismiss_site_message(self): index = self.get_query_argument('index') self.set_header(b'Cache-Control', 'max-age=0,no-cache,no-store') helpers.remove_site_message(key=index) return sickbeard.SITE_MESSAGES