refactor and fixes for episode handling gav
This commit is contained in:
@@ -120,6 +120,11 @@ class Kitsu(Tracker):
|
||||
return os.environ['TRACKER_PROJECT_NAME']
|
||||
|
||||
def get_projects(self):
|
||||
# gazu caches this endpoint indefinitely by default. This matters for
|
||||
# projects created or configured after Blender started: the project
|
||||
# may be present locally (from the toolbox config) while its task
|
||||
# types are never loaded from Kitsu.
|
||||
gazu.cache.clear_all()
|
||||
return gazu.project.all_open_projects()
|
||||
|
||||
def get_episode(self, episode, project=None):
|
||||
|
||||
Reference in New Issue
Block a user