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
1 changed files with 1 additions and 1 deletions

View File

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