We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c9fd6f7 + 98be855 commit 5fb2c83Copy full SHA for 5fb2c83
autonomy/deploy/generators/docker_compose/base.py
@@ -1,7 +1,7 @@
1
# -*- coding: utf-8 -*-
2
# ------------------------------------------------------------------------------
3
#
4
-# Copyright 2021-2024 Valory AG
+# Copyright 2021-2025 Valory AG
5
6
# Licensed under the Apache License, Version 2.0 (the "License");
7
# you may not use this file except in compliance with the License.
@@ -444,7 +444,7 @@ def _populate_keys(self) -> None:
444
)
445
key = cast(List[Dict[str, str]], self.service_builder.keys)[x][PRIVATE_KEY]
446
keys_file = path / PRIVATE_KEY_PATH_SCHEMA.format(ledger)
447
- path.mkdir()
+ path.mkdir(parents=True)
448
with keys_file.open(mode="w", encoding=DEFAULT_ENCODING) as f:
449
f.write(key)
450
0 commit comments