mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Better useragent (#633)
This commit is contained in:
parent
34dc84c29f
commit
6851ceede0
1 changed files with 2 additions and 2 deletions
|
|
@ -4,11 +4,11 @@ import logging
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
from .utils import expand_path
|
from .utils import expand_path
|
||||||
from . import DOCS_HOME, exceptions
|
from . import DOCS_HOME, exceptions, __version__
|
||||||
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
USERAGENT = 'vdirsyncer'
|
USERAGENT = 'vdirsyncer/{}'.format(__version__)
|
||||||
|
|
||||||
|
|
||||||
def _detect_faulty_requests(): # pragma: no cover
|
def _detect_faulty_requests(): # pragma: no cover
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue