Skip to content

Commit

Permalink
fix: custom config file should expand path
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Gonçalves <[email protected]>
  • Loading branch information
dangoncalves committed Nov 4, 2023
1 parent 95b0769 commit 70733a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovh/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def get(self, section, name):

def read(self, config_file):
# Read an other config file
self.config.read(config_file)
self.config.read(os.path.realpath(os.path.expanduser(config_file)))


#: System wide instance :py:class:`ConfigurationManager` instance
Expand Down

0 comments on commit 70733a2

Please sign in to comment.