Skip to content

Commit a02180e

Browse files
committed
fix(profile): use safe check for config_profile before merge
1 parent 4e72b73 commit a02180e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scaleway-core/scaleway_core/profile/profile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ def from_config_file_and_env(
193193
"""
194194

195195
has_config_profile = False
196+
config_profile = None
196197
try:
197198
config_profile = cls.from_config_file(filepath, profile_name)
198199
has_config_profile = True

0 commit comments

Comments
 (0)