mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
make sure old keys are removed
This commit is contained in:
parent
e24f138f47
commit
c932042168
1 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ class Commands:
|
|||
):
|
||||
if src_key in os.environ and dst_key not in os.environ:
|
||||
os.environ[dst_key] = os.environ[src_key]
|
||||
# Remove old keys, so we're sure they're not used
|
||||
os.environ.pop(src_key, None)
|
||||
|
||||
log = Logger.get_logger("CLI-publish")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue