mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -05:00
Spiffytitles: Format proxy as URL
This commit is contained in:
parent
6f90754be9
commit
d93428af0d
@ -69,8 +69,8 @@ class SpiffyTitles(callbacks.Plugin):
|
||||
self.proxies["https"] = None
|
||||
proxy = str(conf.supybot.protocols.http.proxy)
|
||||
if proxy:
|
||||
self.proxies["http"] = proxy
|
||||
self.proxies["https"] = proxy
|
||||
self.proxies["http"] = "http://{0}".format(proxy)
|
||||
self.proxies["https"] = "https://{0}".format(proxy)
|
||||
|
||||
def add_handlers(self):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user