diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-14 15:04:02 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-05-14 15:04:02 +0100 |
commit | 46b7c38d59d41255cce9282c9a846fe6fee80801 (patch) | |
tree | ab51272b2aed40a5677d2120848369dc97e9bb43 | |
parent | 1e440d4523ed56af398f08b52d563443ab991d79 (diff) | |
download | cheatdb-46b7c38d59d41255cce9282c9a846fe6fee80801.tar.xz |
Fix bug in Conf file parser
-rw-r--r-- | app/tasks/importtasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/tasks/importtasks.py b/app/tasks/importtasks.py index f39a224..e0102b8 100644 --- a/app/tasks/importtasks.py +++ b/app/tasks/importtasks.py @@ -114,7 +114,7 @@ def parseConf(string): for line in string.split("\n"): idx = line.find("=") if idx > 0: - key = line[:idx-1].strip() + key = line[:idx].strip() value = line[idx+1:].strip() retval[key] = value |