Browse Source

Change allow Python 3.8.6.

tags/release_0.22.2^2
JackDandy 5 years ago
parent
commit
7ff7069e67
  1. 7
      CHANGES.md
  2. 2
      sickgear.py

7
CHANGES.md

@ -1,4 +1,9 @@
### 0.22.1 (2020-09-24 13:00:00 UTC)
### 0.22.2 (2020-09-25 09:00:00 UTC)
* Change allow Python 3.8.6
### 0.22.1 (2020-09-24 13:00:00 UTC)
* Fix rare case with import existing shows where shows are not listed due to a corrupt `.nfo` file

2
sickgear.py

@ -39,7 +39,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, 5))] # inclusive version ranges
versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 6))] # 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