summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.py b/main.py
index e340429..1111c53 100644
--- a/main.py
+++ b/main.py
@@ -121,4 +121,11 @@ class Plugin:
return {
"status": "error",
"message": str(e)
- } \ No newline at end of file
+ }
+
+ async def check_fgmod_path(self) -> dict:
+ path = "/home/deck/fgmod/"
+ exists = os.path.exists(path)
+ return {
+ "exists": exists
+ } \ No newline at end of file