summaryrefslogtreecommitdiff
path: root/src/config.py
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-11-09 09:54:32 +0000
committerdavidovski <david@davidovski.xyz>2021-11-09 09:54:32 +0000
commita8c82c3abbd0a0a1b9d82d126872ab989bb263aa (patch)
tree6fc24e9a1df97afc4b9ea9236cae4d8b780a70f0 /src/config.py
parentd64fccae8d3ef5f39af0da1ccfd5712ad503c0bb (diff)
donwloading pkginfos
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py4
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":