Browse Source

Merge branch 'hotfix/0.23.15'

tags/release_0.23.15^0 release_0.23.15
JackDandy 4 years ago
parent
commit
180a42c64d
  1. 7
      CHANGES.md
  2. 2
      sickgear.py

7
CHANGES.md

@ -1,4 +1,9 @@
### 0.23.14 (2021-03-10 01:40:00 UTC) ### 0.23.15 (2021-04-03 10:05:00 UTC)
* Change allow Python 3.8.9 and 3.9.3
### 0.23.14 (2021-03-10 01:40:00 UTC)
* Add config/Search/Search Tasks/"Host running FlareSolverr" to handle CloudFlare providers * Add config/Search/Search Tasks/"Host running FlareSolverr" to handle CloudFlare providers
* Change the cf_clearance cookie to an undocumented optional config instead of a requirement * Change the cf_clearance cookie to an undocumented optional config instead of a requirement

2
sickgear.py

@ -40,7 +40,7 @@ warnings.filterwarnings('ignore', module=r'.*ssl_.*', message='.*SSLContext obje
warnings.filterwarnings('ignore', module=r'.*zoneinfo.*', message='.*file or directory.*') warnings.filterwarnings('ignore', module=r'.*zoneinfo.*', message='.*file or directory.*')
warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*') warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*')
versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 8)), ((3, 9, 0), (3, 9, 2))] # inclusive version ranges versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 9)), ((3, 9, 0), (3, 9, 3))] # inclusive version ranges
if not any(list(map(lambda v: v[0] <= sys.version_info[:3] <= v[1], versions))) and not int(os.environ.get('PYT', 0)): if not any(list(map(lambda v: v[0] <= sys.version_info[:3] <= v[1], versions))) and not int(os.environ.get('PYT', 0)):
print('Python %s.%s.%s detected.' % sys.version_info[:3]) print('Python %s.%s.%s detected.' % sys.version_info[:3])
print('Sorry, SickGear requires a Python version %s' % ', '.join(map( print('Sorry, SickGear requires a Python version %s' % ', '.join(map(

Loading…
Cancel
Save