General Backend Fixes (#373)

* General Backend Fixes

* Ajust helpers.get_loader_version() to never throw an exception
This commit is contained in:
suchmememanyskill
2023-02-20 01:37:26 +01:00
committed by GitHub
parent b94cfe32d9
commit e1807e8c75
3 changed files with 13 additions and 24 deletions
+2 -7
View File
@@ -6,14 +6,9 @@ from pathlib import Path
from traceback import print_exc
from aiohttp import web
from genericpath import exists
from os.path import exists
from watchdog.events import RegexMatchingEventHandler
from watchdog.utils import UnsupportedLibc
try:
from watchdog.observers.inotify import InotifyObserver as Observer
except UnsupportedLibc:
from watchdog.observers.fsevents import FSEventsObserver as Observer
from watchdog.observers import Observer
from injector import get_tab, get_gamepadui_tab
from plugin import PluginWrapper