def load(self, path): with open(path, 'r') as black_file: self._blacklist = json.load(black_file) self._autosave_counter = 0
def load(self, path): with open(path, "r") as stat_file: self._stat = json.load(stat_file) self._autosave_counter = 0