mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-07-03 17:10:05 +08:00
6 lines
140 B
Python
6 lines
140 B
Python
import os
|
|
|
|
def get_api_root():
|
|
return os.environ.get("INDICO_PRIVATE_CLOUD_URL") or "http://apiv1.indico.io/"
|
|
api_root = get_api_root()
|