server: relax python3 version

This commit is contained in:
Koushik Dutta
2021-12-07 17:41:06 -08:00
parent 47fba69360
commit 0990f5d424
2 changed files with 3 additions and 2 deletions

View File

@@ -164,7 +164,8 @@ class PluginRemote:
if not os.path.exists(python_prefix):
os.makedirs(python_prefix)
python = 'python3.7'
python = 'python%s' % str(sys.version_info[0])+"."+str(sys.version_info[1])
print('python:', python)
if 'requirements.txt' in zip.namelist():
requirements = zip.open('requirements.txt').read()