mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-25 02:57:22 +00:00
bbf6d9b026
Bugfix for feeds - removed categories related and up - load new books now working - category random now working login page is free of non accessible elements boolean custom column is vivible in UI books with only with certain languages can be shown book shelfs can be deleted from UI Anonymous user view is more resticted Added browse of series in sidebar Dependencys in vendor folder are updated to newer versions (licencs files are now present) Bugfix editing Authors names Made upload on windows working
26 lines
625 B
Python
26 lines
625 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
requests.certs
|
|
~~~~~~~~~~~~~~
|
|
|
|
This module returns the preferred default CA certificate bundle.
|
|
|
|
If you are packaging Requests, e.g., for a Linux distribution or a managed
|
|
environment, you can change the definition of where() to return a separately
|
|
packaged CA bundle.
|
|
"""
|
|
import os.path
|
|
|
|
try:
|
|
from certifi import where
|
|
except ImportError:
|
|
def where():
|
|
"""Return the preferred certificate bundle."""
|
|
# vendored bundle inside Requests
|
|
return os.path.join(os.path.dirname(__file__), 'cacert.pem')
|
|
|
|
if __name__ == '__main__':
|
|
print(where())
|