def get(self): storage = StoreComics() storage.get_comics() template_values = { 'difference_set' : storage.state['difference'], 'difference_count' : storage.state['difference_count'], 'json_count' : storage.state['json_count'], 'datastore_count' : storage.state['datastore_count'] } path = os.path.join(os.path.dirname(__file__), 'templates/storage.html') self.response.out.write(template.render(path, template_values))
def get(self): storage = StoreComics() storage.get_comics() template_values = { "difference_set": storage.state["difference"], "difference_count": storage.state["difference_count"], "json_count": storage.state["json_count"], "datastore_count": storage.state["datastore_count"], } path = os.path.join(os.path.dirname(__file__), "templates/storage.html") self.response.out.write(template.render(path, template_values))
def get(self): storage = StoreComics() storage.interactive = False storage.get_comics() self.response.out.write("Finished")