Update qemu/web_interface.py
Browse files- qemu/web_interface.py +6 -1
qemu/web_interface.py
CHANGED
|
@@ -11,8 +11,13 @@ import logging
|
|
| 11 |
from pathlib import Path
|
| 12 |
from typing import Optional, Dict
|
| 13 |
import json
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
# Configure logging
|
| 18 |
logging.basicConfig(level=logging.DEBUG)
|
|
|
|
| 11 |
from pathlib import Path
|
| 12 |
from typing import Optional, Dict
|
| 13 |
import json
|
| 14 |
+
import os
|
| 15 |
+
import sys
|
| 16 |
|
| 17 |
+
# Add the parent directory to the Python path
|
| 18 |
+
sys.path.insert(0, str(Path(__file__).parent.parent))
|
| 19 |
+
|
| 20 |
+
from qemu.qemu_manager import QEMUManager
|
| 21 |
|
| 22 |
# Configure logging
|
| 23 |
logging.basicConfig(level=logging.DEBUG)
|