mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Use projects_path & images_path.
This commit is contained in:
1 parent
fb9f5d3c14
commit
182d2e465e
3 files changed
+8
-5
No files matched your search
@@ -142,9 +142,11 @@ class Server:
|
||||
|
||||
@asyncio.coroutine
|
||||
def start_shell(self):
|
||||
from ptpython.repl import embed
|
||||
from gns3server.modules import Qemu
|
||||
|
||||
try:
|
||||
from ptpython.repl import embed
|
||||
except ImportError:
|
||||
log.error("Unable to start a shell: the ptpython module must be installed!")
|
||||
return
|
||||
yield from embed(globals(), locals(), return_asyncio_coroutine=True, patch_stdout=True)
|
||||
|
||||
def run(self):
|
||||
|
||||
Reference in new issue
Block a user