Python backend "App" becomes QmlBridge

Is now strictly about setting up asyncio/uvloop and providing the
functions for QML to interact with it and call backend coroutines.

The appdirs attribute is moved to Backend.
This commit is contained in:
miruka
2019-12-18 06:44:18 -04:00
parent 5d7d66f99b
commit 9e372d01d5
7 changed files with 46 additions and 56 deletions

View File

@@ -69,7 +69,7 @@ class MatrixClient(nio.AsyncClient):
f"homeserver is missing scheme (e.g. https://): {homeserver}",
)
store = Path(backend.app.appdirs.user_data_dir) / "encryption"
store = Path(backend.appdirs.user_data_dir) / "encryption"
store.mkdir(parents=True, exist_ok=True)
super().__init__(