Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert the result of tdef.get_tracker() to str #7012

Merged
merged 2 commits into from
Aug 24, 2022
Merged

Conversation

drew2a
Copy link
Contributor

@drew2a drew2a commented Aug 22, 2022

This PR fixes #6987

In the case of wrong get_tracker() type (eg ["b'udp://tracker/announce'"']) the result string for the tracker_info will be empty (which is better than an exception).

@drew2a drew2a marked this pull request as ready for review August 23, 2022 08:36
@drew2a drew2a requested review from a team and kozlovsky and removed request for a team August 23, 2022 08:36
@drew2a drew2a merged commit bec6510 into Tribler:main Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: not expecting type '<class 'list'>'
2 participants