diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |
