mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-21 23:47:39 +00: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:
parent
1f5267204b
commit
9826640ae6
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!')
|
||||
|
Loading…
x
Reference in New Issue
Block a user