allow AGORA_PATH to be set via env var

This commit is contained in:
Nik V 2020-11-27 18:24:26 -08:00
parent 8ee3f92b9f
commit e7c64d374c
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import os
import getpass
AGORA_PATH = os.path.join('/home', getpass.getuser(), 'agora')
AGORA_PATH = os.getenv("AGORA_PATH", os.path.join("/home", getpass.getuser(), "agora"))
AGORA_VERSION = '0.5.3'
# With trailing slash.