mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-27 21:26:43 +00:00
Dumb
This commit is contained in:
parent
712983ef56
commit
4da64d8fd9
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user