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
It's impossible to create a torrent file with empty announce URL. When empty list is passed to pyrocore.util.metafile.create(), the code fails with UnboundLocalError: local variable 'meta' referenced before assignment.
Using empty announce URL is useful since for some trackers one doesn't need to specify announce URL in advance. Those trackers add announce URL to uploaded torrent files by themselves.
At least the code shouldn't fail with UnboundLocalError but give a meaningful error message.
The text was updated successfully, but these errors were encountered:
It's impossible to create a torrent file with empty announce URL. When empty list is passed to
pyrocore.util.metafile.create()
, the code fails withUnboundLocalError: local variable 'meta' referenced before assignment
.Using empty announce URL is useful since for some trackers one doesn't need to specify announce URL in advance. Those trackers add announce URL to uploaded torrent files by themselves.
At least the code shouldn't fail with
UnboundLocalError
but give a meaningful error message.The text was updated successfully, but these errors were encountered: