mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-11-10 08:20:49 +08:00
refactor(web_api): wrap default_dir with Path in settings path construction
This commit is contained in:
parent
397049e46c
commit
cd138b32cc
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
4.6.1-develop23
|
||||
4.6.1-develop24
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ async def process_queue_periodically(web_api: WebAPI) -> None:
|
|||
|
||||
async def watch_settings_file(web_api: WebAPI) -> None:
|
||||
"""Monitor the settings file for changes and reload authentication settings."""
|
||||
settings_path = web_api.default_dir / "qbm_settings.yml"
|
||||
settings_path = Path(web_api.default_dir) / "qbm_settings.yml"
|
||||
last_hash = None
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue