def __init__ (self, properties, provider):
        Account.__init__(self, properties, provider)
        self.total_unread = 0
        self.cache = FeedCache(self)
        self.cache.load()
        for f in self.cache.feeds.values():
            if not f.feed_read:
                self.total_unread = self.total_unread + 1

        self.new_unread = []
示例#2
0
    def __init__ (self, properties, provider):
        Account.__init__(self, properties, provider)
        self.total_unread = 0
        self.cache = FeedCache(self)
        self.cache.load()
        for f in self.cache.feeds.values():
            if not f.feed_read:
                self.total_unread = self.total_unread + 1

        self.new_unread = []