(self)
Load data from the cache file
Load data from the cache file
Load data from the cache file
def load(self):
        """Load data from the cache file"""
        if (not os.path.exists(self.path)):
            return

        try:
            with open(self.path, 'r') as fd:
                self.data = json.load(fd)
        except json.decoder.JSONDecodeError:
            return
def load ( self ) : if ( not os . path . exists ( self . path ) ) : return try : with open ( self . path , 'r' ) as fd : self . data = json . load ( fd ) except json . decoder . JSONDecodeError : return