mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Fix plugin path
This commit is contained in:
parent
12c81c9611
commit
080281be49
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ def update_plugin_json(plugin_info, category):
|
|||
name = next(iter(plugin_info))
|
||||
details = plugin_info[name]
|
||||
|
||||
with open(f"plugins{category}.json", 'r+') as file:
|
||||
with open(f"plugins{category}{category}.json", 'r+') as file:
|
||||
data = json.load(file)
|
||||
try:
|
||||
# Check if plugin is already in the json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue