Skip to content

Commit

Permalink
Merge pull request #35 from ynput/bugfix/access_server_info_correctly
Browse files Browse the repository at this point in the history
access server info correctly
  • Loading branch information
iLLiCiTiT authored Sep 23, 2024
2 parents bb0d192 + ff80322 commit 0d8d3b1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def process(self, context):
if dl_server_info:
deadline_url = dl_server_info["value"]
else:
default_dl_server_info = deadline_addon.deadline_servers_info[0]
key = next(k for k in deadline_addon.deadline_servers_info.keys())
default_dl_server_info = deadline_addon.deadline_servers_info[key]
deadline_url = default_dl_server_info["value"]

context.data["deadline"] = {}
Expand Down

0 comments on commit 0d8d3b1

Please sign in to comment.