remove unused proxy settings
This commit is contained in:
6
.github/workflows/develop.yml
vendored
6
.github/workflows/develop.yml
vendored
@@ -2,8 +2,10 @@ name: build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches-ignore:
|
||||||
- 'develop'
|
- master
|
||||||
|
tags-ignore:
|
||||||
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|||||||
@@ -16,11 +16,11 @@ DEFAULT_SETTINGS = {
|
|||||||
"tray/notifications/icon/show": True,
|
"tray/notifications/icon/show": True,
|
||||||
"watchdog/interval/s": 60,
|
"watchdog/interval/s": 60,
|
||||||
"MessageWidget/image/size": 33,
|
"MessageWidget/image/size": 33,
|
||||||
"MessageWidget/font/title": "Helvetica,13,-1,5,75,0,0,0,0,0,Bold",
|
"MessageWidget/font/title": "Noto Sans,12,-1,5,75,0,0,0,0,0,Bold",
|
||||||
"MessageWidget/font/date": "Helvetica,11,-1,5,50,1,0,0,0,0,Italic",
|
"MessageWidget/font/date": "Noto Sans,11,-1,5,50,1,0,0,0,0,Italic",
|
||||||
"MessageWidget/font/message": "Helvetica,12,-1,5,50,0,0,0,0,0,Regular",
|
"MessageWidget/font/message": "Noto Sans,11,-1,5,50,0,0,0,0,0,Regular",
|
||||||
"ApplicationItem/font": "Helvetica,12,-1,5,50,0,0,0,0,0,Regular",
|
"ApplicationItem/font": "Noto Sans,10,-1,5,50,0,0,0,0,0,Regular",
|
||||||
"MainWindow/font/application": "Helvetica,14,-1,5,75,0,0,0,0,0,Bold",
|
"MainWindow/font/application": "Noto Sans,13,-1,5,75,0,0,0,0,0,Bold",
|
||||||
"MainWindow/label/size": 25,
|
"MainWindow/label/size": 25,
|
||||||
"MainWindow/button/size": 33,
|
"MainWindow/button/size": 33,
|
||||||
"MainWindow/application/icon/size": 40,
|
"MainWindow/application/icon/size": 40,
|
||||||
|
|||||||
@@ -14,12 +14,6 @@ class Downloader(object):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.cache = Cache()
|
self.cache = Cache()
|
||||||
self.session = requests.Session()
|
self.session = requests.Session()
|
||||||
self.session.proxies.update(
|
|
||||||
{
|
|
||||||
"https": settings.value("proxies/https", type=str),
|
|
||||||
"http": settings.value("proxies/http", type=str),
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
def get(self, url: str) -> requests.Response:
|
def get(self, url: str) -> requests.Response:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user