diff options
author | davidovski <david@davidovski.xyz> | 2021-11-09 09:54:32 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-11-09 09:54:32 +0000 |
commit | a8c82c3abbd0a0a1b9d82d126872ab989bb263aa (patch) | |
tree | 6fc24e9a1df97afc4b9ea9236cae4d8b780a70f0 /src/config.py | |
parent | d64fccae8d3ef5f39af0da1ccfd5712ad503c0bb (diff) |
donwloading pkginfos
Diffstat (limited to 'src/config.py')
-rw-r--r-- | src/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.py b/src/config.py index ed86dc9..c98b076 100644 --- a/src/config.py +++ b/src/config.py @@ -72,9 +72,9 @@ def _parse_line(line, config_file): if line[0] == "#": return {} else: - split = line.split(" ") + split = line.split() key = split[0] - value = " " if len(split) == 1 else " ".join(line.split(" ")[1:]) + value = " " if len(split) == 1 else " ".join(split[1:]) # if starting with include, then include another file in the same config if key == "include": |