diff options
author | Richard Jones <richard@mechanicalcat.net> | 2013-02-04 12:15:08 +1100 |
---|---|---|
committer | Richard Jones <richard@mechanicalcat.net> | 2013-02-04 12:15:08 +1100 |
commit | d4971bc83218e07461df321f49b3cd0b7cfde68e (patch) | |
tree | 120136caa5215506a75b40a2c9b6faf2420ee170 | |
parent | b6161146be1a7b13df769dd2cc199c15f6da191b (diff) | |
download | decorator-d4971bc83218e07461df321f49b3cd0b7cfde68e.tar.gz |
generate HTTPS download links too
-rw-r--r-- | config.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -57,8 +57,10 @@ class Config: if self.url.startswith("http:"): self.url = "https"+self.url[4:] self.pydotorg = '/' + self.files_url = "https"+self.files_url[4:] def make_http(self): if self.url.startswith("https:"): self.url = "http"+self.url[5:] self.pydotorg = self.orig_pydotorg + self.files_url = "http"+self.files_url[5:] |