Verified Commit ce474fa1 authored by Karel Koci's avatar Karel Koci 🤘

Fix invalid uci option name

parent 0f963704
......@@ -27,7 +27,7 @@ from setuptools import setup
setup(
name='svupdater',
version='1.0',
version='1.0.2',
description="Supervising application and library for updater-ng.",
url="https://gitlab.labs.nic.cz/turris/updater/supervisor",
author="CZ.NIC, z. s. p. o.",
......
......@@ -36,7 +36,7 @@ def enabled() -> typing.Optional[bool]:
"""
with EUci() as uci:
try:
return uci.get_boolean("updater", "autorun", "enabled")
return uci.get_boolean("updater", "autorun", "enable")
except UciExceptionNotFound:
# No option means disabled but instead of False we return None to
# allow to handle no setting situation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment