Change allow Python 3.12.1

This commit is contained in:
Prinz23 2023-12-10 00:24:32 +01:00 committed by JackDandy
parent 73d1ae56a9
commit 4cebf12fbd
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,10 @@
### 3.30.4 (2023-10-12 11:50:00 UTC) ### 3.30.5 (2023-12-10 05:00:00 UTC)
* Change allow Python 3.12.1
* Change improve Emby status check
### 3.30.4 (2023-10-12 11:50:00 UTC)
* Add metadata source attribution in footer * Add metadata source attribution in footer

View file

@ -38,7 +38,7 @@ warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*')
versions = [((3, 8, 2), (3, 8, 18)), versions = [((3, 8, 2), (3, 8, 18)),
((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 18)), ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 18)),
((3, 10, 0), (3, 12, 0))] # inclusive version ranges ((3, 10, 0), (3, 12, 1))] # 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)):
major, minor, micro = sys.version_info[:3] major, minor, micro = sys.version_info[:3]
print('Python %s.%s.%s detected.' % (major, minor, micro)) print('Python %s.%s.%s detected.' % (major, minor, micro))