Skip to content

Commit

Permalink
Also dump plugin list as json
Browse files Browse the repository at this point in the history
  • Loading branch information
dhinakg committed Jan 3, 2023
1 parent cfe5e1d commit 6ae3050
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config_mgmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ def save_config(data: dict):

json.dump(data, (config_dir / Path("config.json")).open("w"), sort_keys=True)
json.dump(latest, (config_dir / Path("latest.json")).open("w"), sort_keys=True)
json.dump(list(data.keys()), (config_dir / Path("plugins.json")).open("w"), sort_keys=True)

0 comments on commit 6ae3050

Please sign in to comment.