mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] hook_exec / subprocess.Popen explodes if you feed non-string values in env variables
This commit is contained in:
parent
1f7faabc30
commit
3c07e55017
1 changed files with 1 additions and 1 deletions
|
@ -1233,7 +1233,7 @@ def app_remove(operation_logger, app, purge=False):
|
|||
env_dict["YNH_APP_INSTANCE_NAME"] = app
|
||||
env_dict["YNH_APP_INSTANCE_NUMBER"] = str(app_instance_nb)
|
||||
env_dict["YNH_APP_MANIFEST_VERSION"] = manifest.get("version", "?")
|
||||
env_dict["YNH_APP_PURGE"] = purge
|
||||
env_dict["YNH_APP_PURGE"] = str(purge)
|
||||
operation_logger.extra.update({"env": env_dict})
|
||||
operation_logger.flush()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue