From af8c7b959ae66ee529a18ef655f30bff022a5a80 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 27 Apr 2024 17:13:12 +0300 Subject: tests for settings - v0.4b1 --- src/sliceitoff/settings/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sliceitoff/settings/settings.py') diff --git a/src/sliceitoff/settings/settings.py b/src/sliceitoff/settings/settings.py index 48b754c..7ecfbf3 100644 --- a/src/sliceitoff/settings/settings.py +++ b/src/sliceitoff/settings/settings.py @@ -35,7 +35,7 @@ class Settings: data = line.split('=') if len(data) != 2: return None - return data[0], data[1] + return data[0].strip(), data[1].strip() def get_values(self, option): """ Gets all values for certain option """ -- cgit v1.2.3