Skip to content

Commit

Permalink
fixed config not being set properly
Browse files Browse the repository at this point in the history
force push 1: removed print statements
  • Loading branch information
NSPC911 committed Sep 6, 2024
1 parent f948d83 commit 8003569
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def config(readorset, key, changeto="", is_theme=False):
try:
cnfg[key] # Check whether exists
cnfg[key] = changeto
dump_json("search.config.json",cnfg)
dump_json(config_path,cnfg)
print(f"{Fore.GREEN}Set `{Fore.CYAN}{key}{Fore.GREEN}` to {Fore.MAGENTA}{changeto}")
except KeyError:
print(f"{Fore.RED}KeyError: `{key}` not found in search.config.json")
Expand Down
2 changes: 1 addition & 1 deletion search.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"default.case_sensitive": false,
"updater.env.current_version": "1.0.3",
"updater.canary": false,
"updater.env.canary_version": "1.0.4.3",
"updater.env.canary_version": "1.0.4.4",
"updater.auto_update": false
}

0 comments on commit 8003569

Please sign in to comment.