allow =-signs in config values

This commit is contained in:
Bdoner
2023-02-22 11:29:31 +01:00
parent f3296d019a
commit a638701613
+1 -1
View File
@@ -6,7 +6,7 @@ def config_to_settings(path):
this_run = f.readlines()
for i in this_run:
key = i.split("=")[0]
value = i.split("=")[1][:-1]
value = "=".join(i.split("=")[1:])
# Trim for strings, not ideal
if value.startswith('"') and value.endswith('"'):
value = value[1:-1]