fix: keep upgrades out of codebase (#2957)

* fix: keep upgrades out of codebase

* chore: code format
This commit is contained in:
Vlad Stan
2025-02-12 13:31:53 +00:00
committed by GitHub
parent 1cef614349
commit b76d8b5458
4 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ async def extensions_update(
if not await _can_run_operation(url):
return
upgrades_dir = Path(settings.lnbits_extensions_path, "upgrades")
upgrades_dir = settings.lnbits_extensions_upgrade_path
Path(upgrades_dir).mkdir(parents=True, exist_ok=True)
sys.path.append(str(upgrades_dir))