mirror of
https://github.com/daylinmorgan/tsm.git
synced 2024-12-22 05:00:44 -06:00
fix: usu parser is broken for now
This commit is contained in:
parent
e8539740f6
commit
78d364f80f
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ proc loadConfigFile(): TsmConfig =
|
||||||
let topFields = usuNode.fields
|
let topFields = usuNode.fields
|
||||||
if "paths" in topFields:
|
if "paths" in topFields:
|
||||||
for p in usuNode.fields["paths"].elems:
|
for p in usuNode.fields["paths"].elems:
|
||||||
result.paths.add p.value
|
result.paths.add p.value.strip() # usu is adding a newline....
|
||||||
if "sessions" in topFields:
|
if "sessions" in topFields:
|
||||||
for session in usuNode.fields["sessions"].elems:
|
for session in usuNode.fields["sessions"].elems:
|
||||||
result.sessions.add Session(
|
result.sessions.add Session(
|
||||||
|
|
Loading…
Reference in a new issue