Browse Source

Change allow Python 3.8.5.

tags/release_0.21.40^2
JackDandy 5 years ago
parent
commit
972545ecbf
  1. 7
      CHANGES.md
  2. 2
      sickgear.py

7
CHANGES.md

@ -1,4 +1,9 @@
### 0.21.39 (2020-07-14 01:15:00 UTC)
### 0.21.40 (2020-07-20 22:00:00 UTC)
* Change allow Python 3.8.5
### 0.21.39 (2020-07-14 01:15:00 UTC)
* Change allow Python 3.8.4

2
sickgear.py

@ -40,7 +40,7 @@ warnings.filterwarnings('ignore', module=r'.*fuzzywuzzy.*')
warnings.filterwarnings('ignore', module=r'.*ssl_.*', message='.*SSLContext object.*')
warnings.filterwarnings('ignore', module=r'.*zoneinfo.*', message='.*file or directory.*')
versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 4))] # inclusive version ranges
versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 5))] # 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)):
print('Python %s.%s.%s detected.' % sys.version_info[:3])
print('Sorry, SickGear requires a Python version %s' % ', '.join(map(

Loading…
Cancel
Save