ml-visoft commited on
Commit
9753f44
1 Parent(s): 2c05498

Small bug in assert

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -23,7 +23,7 @@ OPENID_PROVIDER_URL = os.environ.get('OPENID_PROVIDER_URL')
23
  SPACE_HOST = os.environ.get('SPACE_HOST', "none")
24
  HF_DATASET_AUTH_TOKEN = os.environ.get('HF_DATASET_AUTH_TOKEN')
25
 
26
- assert SPACE_HOST is not "none", "Please set the corrent ENV variables!!!"
27
 
28
  LOCAL_STORAGE_PATH = ""
29
 
 
23
  SPACE_HOST = os.environ.get('SPACE_HOST', "none")
24
  HF_DATASET_AUTH_TOKEN = os.environ.get('HF_DATASET_AUTH_TOKEN')
25
 
26
+ assert SPACE_HOST != "none", "Please set the corrent ENV variables!!!"
27
 
28
  LOCAL_STORAGE_PATH = ""
29