Fix announce py3 compatibility

This commit is contained in:
shortcutme 2019-03-16 03:43:11 +01:00
parent ea638dd0e0
commit f3a4b9c709
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -335,7 +335,7 @@ class SiteAnnouncer(object):
'event': 'started'
}
url = protocol + "://" + tracker_address + "?" + urllib.urlencode(params)
url = protocol + "://" + tracker_address + "?" + urllib.parse.urlencode(params)
s = time.time()
response = None