chore(style): Black style
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import urllib
|
||||
from urllib.parse import urlencode
|
||||
|
||||
|
||||
def magnet_builder(info_hash, title):
|
||||
"""
|
||||
Generates a magnet link using the info_hash and title of a given file.
|
||||
@@ -19,4 +20,4 @@ def magnet_builder(info_hash, title):
|
||||
for tracker in known_trackers:
|
||||
magnet_link += f"&{urlencode({'tr': tracker})}"
|
||||
|
||||
return magnet_link
|
||||
return magnet_link
|
||||
|
||||
Reference in New Issue
Block a user