fix api pass env

This commit is contained in:
Marcin Jachymiak 2020-03-05 10:07:03 -05:00
parent d9b27d416c
commit 2af43ed499
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class siac:
@staticmethod
def get_password():
# Get a port or use default
password = os.getenv("API_PASSWORD")
password = os.getenv("SIA_API_PASSWORD")
if not password:
home = os.getenv("HOME")
password_file = open(home+"/.sia/apipassword")