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:
Licaon_Kter 2019-02-07 17:40:30 +02:00 committed by John Wu
parent 1f5267204b
commit 9826640ae6

View File

@ -19,8 +19,8 @@ def vprint(str):
print(str) print(str)
# Environment checks # Environment checks
if not sys.version_info >= (3, 5): if not sys.version_info >= (3, 6):
error('Requires Python 3.5+') error('Requires Python 3.6+')
if 'ANDROID_HOME' not in os.environ: if 'ANDROID_HOME' not in os.environ:
error('Please add Android SDK path to ANDROID_HOME environment variable!') error('Please add Android SDK path to ANDROID_HOME environment variable!')