2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-27 21:26:43 +00:00
This commit is contained in:
Oliver 2021-10-11 20:21:49 +11:00
parent 712983ef56
commit 4da64d8fd9

View File

@ -42,7 +42,7 @@ def on_config(config, *args, **kwargs):
readthedocs = {}
for key in os.environ.keys():
if key.lower().startswith('READTHEDOCS_'):
if key.startswith('READTHEDOCS_'):
k = key.replace('READTHEDOCS_', '').lower()
readthedocs[k] = os.environ[key]