Fix config save line parsing without values

This commit is contained in:
shortcutme 2018-04-28 21:43:22 +02:00
parent 461f9c7ad6
commit 0244db9182
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -416,7 +416,7 @@ class Config(object):
for line in lines: for line in lines:
if line.strip() == "[global]": if line.strip() == "[global]":
global_line_i = i global_line_i = i
if line.startswith(key + " = "): if line.startswith(key + " ="):
key_line_i = i key_line_i = i
i += 1 i += 1