mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-07-27 11:18:10 +08:00
Initial test coverage for new configuration system
This commit is contained in:
committed by
Madison May
parent
6b9251f4f5
commit
dc47fe5b0a
+3
-1
@@ -1,3 +1,5 @@
|
||||
import os
|
||||
|
||||
api_root = os.getenv("INDICO_PRIVATE_CLOUD_URL") or "http://apiv1.indico.io/"
|
||||
def get_api_root():
|
||||
return os.environ.get("INDICO_PRIVATE_CLOUD_URL") or "http://apiv1.indico.io/"
|
||||
api_root = get_api_root()
|
||||
|
||||
Reference in New Issue
Block a user