diff options
| -rw-r--r-- | fg21sim/configs/manager.py | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/fg21sim/configs/manager.py b/fg21sim/configs/manager.py index 4997437..70c32b5 100644 --- a/fg21sim/configs/manager.py +++ b/fg21sim/configs/manager.py @@ -197,6 +197,8 @@ class ConfigManager:          ----------          userconfig : str              Filename/path to the user configuration file. +            Generally, an absolute path should be provided. +            The prefix ``~`` (tilde) is also allowed and will be expanded.          NOTE          ---- @@ -204,6 +206,7 @@ class ConfigManager:          configurations are *reset* before loading the supplied user          configuration file.          """ +        userconfig = os.path.expanduser(userconfig)          try:              config = open(userconfig).read().split("\n")          except IOError:  | 
