ohh. that's what that last char removed did...
This commit is contained in:
@@ -6,7 +6,7 @@ def config_to_settings(path):
|
|||||||
this_run = f.readlines()
|
this_run = f.readlines()
|
||||||
for i in this_run:
|
for i in this_run:
|
||||||
key = i.split("=")[0]
|
key = i.split("=")[0]
|
||||||
value = "=".join(i.split("=")[1:])
|
value = "=".join(i.split("=")[1:])[:-1]
|
||||||
# Trim for strings, not ideal
|
# Trim for strings, not ideal
|
||||||
if value.startswith('"') and value.endswith('"'):
|
if value.startswith('"') and value.endswith('"'):
|
||||||
value = value[1:-1]
|
value = value[1:-1]
|
||||||
|
|||||||
Reference in New Issue
Block a user