Skip to content

Commit acd5ef4

Browse files
committed
fix: allow saving "0" again for checkboxes in settings
1 parent 31132df commit acd5ef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def get_remote_forwards():
146146
def read_config(query: str, default):
147147
try:
148148
result = subprocess.check_output([ConfigHelper.yq_path, "e", query, ConfigHelper.config_path], encoding="utf-8").strip()
149-
if result == "null" or result == "0":
149+
if result == "null":
150150
result = default
151151
except subprocess.CalledProcessError:
152152
result = default

0 commit comments

Comments
 (0)