mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
confirm current working dir
This commit is contained in:
parent
266a28d9ae
commit
c4371d3a76
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ from ast import Call, Dict, Name, Constant, keyword
|
||||||
|
|
||||||
def update_plugin_json(plugin_info, category):
|
def update_plugin_json(plugin_info, category):
|
||||||
name = plugin_info["plugin_name"]
|
name = plugin_info["plugin_name"]
|
||||||
|
import os
|
||||||
|
print(os.getwc())
|
||||||
|
|
||||||
with open(f"plugins/{category}/{category}.json", "r+") as file:
|
with open(f"plugins/{category}/{category}.json", "r+") as file:
|
||||||
data = json.load(file)
|
data = json.load(file)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue