mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-03-11 06:54:08 +00:00
Update lollms_advanced.py
This commit is contained in:
parent
6dde240af9
commit
4f2bed2e7d
@ -312,7 +312,7 @@ async def open_discussion_folder_in_vs_code(request: OpenCodeFolderInVsCodeReque
|
|||||||
|
|
||||||
if os.path.isdir(root_folder):
|
if os.path.isdir(root_folder):
|
||||||
path = '"'+str(root_folder)+'"'.replace("\\","/")
|
path = '"'+str(root_folder)+'"'.replace("\\","/")
|
||||||
subprocess.run(['code', path], shell=True)
|
subprocess.run(['code', '-n', path], shell=True)
|
||||||
|
|
||||||
|
|
||||||
return {"status": True, "execution_time": 0}
|
return {"status": True, "execution_time": 0}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user