You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like there's just a bit of missing if/else logic, where the reduced list is only returned after handling a link-fail prompt.
Lines 266-296:
if link_success:
print(f"[green]Succeeded linking: [/]{len(link_success)}")
if link_fail:
print(f"[red]Failed linking: [/]{len(link_fail)}")
print()
print(f"[green]{len(link_success)} proxy(s) successfully linked.")
if link_fail:
if Confirm.ask(
f"[yellow]{len(link_fail)} proxies failed to link. Would you like to re-render them?"
):
# Remove offline status, redefine media list
for x in media_list:
if x in link_fail:
x["proxy_status"] = "None"
media_list = [x for x in media_list if x not in link_success]
else:
# Queue only those that remain
media_list = [
x for x in media_list if x not in link_success or x not in link_fail
]
logger.debug(f"[magenta]Remaining unlinked media: {media_list}")
return media_list
```
Just remove the `else` block and add another return after redefining the media_list in that `if link_fail` block.
<!-- Edit the body of your new issue then click the ✓ "Create Issue" button in the top right of the editor. The first line will be the issue title. Assignees and Labels follow after a blank line. Leave an empty line before beginning the body of the issue. -->
The text was updated successfully, but these errors were encountered:
Seems like there's just a bit of missing if/else logic, where the reduced list is only returned after handling a link-fail prompt.
Lines 266-296:
The text was updated successfully, but these errors were encountered: