diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-27 17:13:12 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-27 17:13:12 +0300 |
commit | af8c7b959ae66ee529a18ef655f30bff022a5a80 (patch) | |
tree | 809b752647453229278c88b4aafd68778726180e /src/sliceitoff/settings/settings.py | |
parent | 9f8247dc4da89219b6eede08d58d96964391a077 (diff) |
tests for settings - v0.4b1
Diffstat (limited to 'src/sliceitoff/settings/settings.py')
-rw-r--r-- | src/sliceitoff/settings/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 """ |