Skip to content

Commit 2036a53

Browse files
author
Marc Schöchlin
committed
type check
Signed-off-by: Marc Schöchlin <[email protected]>
1 parent 00619b5 commit 2036a53

File tree

1 file changed

+3
-1
lines changed
  • src/openstack_workload_generator/entities

1 file changed

+3
-1
lines changed

src/openstack_workload_generator/entities/helpers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ def load_config(config_file: str):
6969

7070
if os.getenv("OPENSTACK_WORKLOAD_MANAGER_PROFILES", None):
7171
potential_profile_file = str(
72-
Path(os.getenv("OPENSTACK_WORKLOAD_MANAGER_PROFILES"))
72+
Path(
73+
os.getenv("OPENSTACK_WORKLOAD_MANAGER_PROFILES", "NONE")
74+
) # satisfy type-check
7375
/ Path(config_file)
7476
)
7577
LOGGER.info(

0 commit comments

Comments
 (0)