mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
f-strings need Python 3.6
...this is a blocker for F-Droid since Debian Strech has only Python 3.5.x
This commit is contained in:
4
build.py
4
build.py
@ -19,8 +19,8 @@ def vprint(str):
|
||||
print(str)
|
||||
|
||||
# Environment checks
|
||||
if not sys.version_info >= (3, 5):
|
||||
error('Requires Python 3.5+')
|
||||
if not sys.version_info >= (3, 6):
|
||||
error('Requires Python 3.6+')
|
||||
|
||||
if 'ANDROID_HOME' not in os.environ:
|
||||
error('Please add Android SDK path to ANDROID_HOME environment variable!')
|
||||
|
Reference in New Issue
Block a user