lib: add default to config from file://
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
545a114450
commit
1b87375661
|
@ -92,6 +92,7 @@ class ConfigLoader:
|
||||||
value = _file.read()
|
value = _file.read()
|
||||||
except OSError:
|
except OSError:
|
||||||
self._log("error", f"Failed to read config value from {url.netloc}")
|
self._log("error", f"Failed to read config value from {url.netloc}")
|
||||||
|
value = url.query
|
||||||
return value
|
return value
|
||||||
|
|
||||||
def update_from_file(self, path: str):
|
def update_from_file(self, path: str):
|
||||||
|
|
|
@ -88,7 +88,7 @@ export class LibraryPage extends LitElement {
|
||||||
apps?: AKResponse<Application>;
|
apps?: AKResponse<Application>;
|
||||||
|
|
||||||
pageTitle(): string {
|
pageTitle(): string {
|
||||||
return t`Applications`;
|
return t`My Applications`;
|
||||||
}
|
}
|
||||||
|
|
||||||
static get styles(): CSSResult[] {
|
static get styles(): CSSResult[] {
|
||||||
|
|
Reference in a new issue