Skip to content

Commit

Permalink
Tweak media graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jan 8, 2024
1 parent 94e5262 commit 749e322
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jellyfin_apiclient_python/media_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,10 @@ def __truediv__(self, node):
self.open_node(node, verbose=1)

def setup(self):
self._init_media_folders()
self._update_graph_labels()
try:
self._init_media_folders()
finally:
self._update_graph_labels()
return self

def _init_media_folders(self):
Expand Down

0 comments on commit 749e322

Please sign in to comment.