Update server.py
Browse files
server.py
CHANGED
|
@@ -30,7 +30,7 @@ import os
|
|
| 30 |
from IPython.display import clear_output
|
| 31 |
import urllib.request
|
| 32 |
from pathlib import Path
|
| 33 |
-
|
| 34 |
import json
|
| 35 |
import threading
|
| 36 |
import time
|
|
@@ -49,7 +49,7 @@ def update():
|
|
| 49 |
os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
|
| 50 |
print('-----------更新软件包列表结束-------------')
|
| 51 |
update()
|
| 52 |
-
|
| 53 |
clear_output(wait=True) # 清除输出
|
| 54 |
|
| 55 |
def kill_frpc_processes():
|
|
|
|
| 30 |
from IPython.display import clear_output
|
| 31 |
import urllib.request
|
| 32 |
from pathlib import Path
|
| 33 |
+
|
| 34 |
import json
|
| 35 |
import threading
|
| 36 |
import time
|
|
|
|
| 49 |
os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
|
| 50 |
print('-----------更新软件包列表结束-------------')
|
| 51 |
update()
|
| 52 |
+
from ruamel.yaml import YAML
|
| 53 |
clear_output(wait=True) # 清除输出
|
| 54 |
|
| 55 |
def kill_frpc_processes():
|