Adds additional check for min python3 version #221

This commit is contained in:
bobokun 2023-03-05 12:19:27 -05:00
parent 7cebd01221
commit 19159c346a
No known key found for this signature in database
GPG key ID: B73932169607D927
2 changed files with 4 additions and 6 deletions

View file

@ -1,7 +1,5 @@
# Requirements Updated
- Bump qbittorrent-api from 2022.11.42 to 2023.2.43
- Adds check for minimum python requirement of 3.8.1+
# Bug Fixes
- Fixes NoHL torrents being removed when criteria not met (#205)
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v3.4.3...v3.4.4
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v3.4.4...v3.4.5

View file

@ -15,9 +15,9 @@ except ModuleNotFoundError:
sys.exit(0)
if sys.version_info[0] != 3 or sys.version_info[1] < 6:
if sys.version_info < (3, 8, 1):
print(
"Version Error: Version: %s.%s.%s incompatible please use Python 3.6+"
"Version Error: Version: %s.%s.%s incompatible please use Python 3.8.1+"
% (sys.version_info[0], sys.version_info[1], sys.version_info[2])
)
sys.exit(0)