summaryrefslogtreecommitdiff
path: root/src/sliceitoff/settings
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-27 23:15:55 +0300
committerViljami Ilola <+@hix.fi>2024-04-27 23:15:55 +0300
commit418e9144d5059212693c3f848ecf095dbb0f690a (patch)
tree70fd12178fa2c9d64ed272c0621e9e63257fe44a /src/sliceitoff/settings
parent1727b104e6f301d3a3f007f736227d592d8ebbef (diff)
fix default settings getterv0.4b2
Diffstat (limited to 'src/sliceitoff/settings')
-rw-r--r--src/sliceitoff/settings/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sliceitoff/settings/settings.py b/src/sliceitoff/settings/settings.py
index 7ecfbf3..992971b 100644
--- a/src/sliceitoff/settings/settings.py
+++ b/src/sliceitoff/settings/settings.py
@@ -69,7 +69,7 @@ class Settings:
v = self.get_value(option)
if v:
return v
- return [x[1] for x in DEFAULT_SETTINGS if x[0]==option][1]
+ return [x[1] for x in DEFAULT_SETTINGS if x[0]==option][0]
def put_value(self, option, value):
""" Puts single value with option name """