fix: keep upgrades out of codebase (#2957)
* fix: keep upgrades out of codebase * chore: code format
This commit is contained in:
+1
-1
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user