Skip to content

Commit 70733a2

Browse files
committed
fix: custom config file should expand path
Signed-off-by: Daniel Gonçalves <[email protected]>
1 parent 95b0769 commit 70733a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ovh/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get(self, section, name):
114114

115115
def read(self, config_file):
116116
# Read an other config file
117-
self.config.read(config_file)
117+
self.config.read(os.path.realpath(os.path.expanduser(config_file)))
118118

119119

120120
#: System wide instance :py:class:`ConfigurationManager` instance

0 commit comments

Comments
 (0)