mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-06-27 16:10:34 +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()
|