about summary refs log tree commit diff stats
path: root/src/config/config.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/config.nim')
-rw-r--r--src/config/config.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/config.nim b/src/config/config.nim
index 871b4e3c..5f749708 100644
--- a/src/config/config.nim
+++ b/src/config/config.nim
@@ -587,7 +587,7 @@ proc parseConfig(config: Config, dir: string, t: TomlValue) =
       when nimvm:
         config.parseConfig(dir, staticRead(dir / s))
       else:
-        config.parseConfig(dir, newFileStream(dir / s))
+        config.parseConfig(dir, openFileExpand(dir, s))
   config.configdir = dir
   #TODO: for omnirule/siteconf, check if substitution rules are specified?