Beispiel #1
0
 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
Beispiel #2
0
 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