mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
refactoring
This commit is contained in:
@@ -32,6 +32,11 @@ from typing import Hashable
|
||||
from typing import TypeVar
|
||||
|
||||
|
||||
# =====
|
||||
def efmt(err: Exception) -> str:
|
||||
return f"{type(err).__name__}: {err}"
|
||||
|
||||
|
||||
# =====
|
||||
def merge(dest: Dict, src: Dict) -> None:
|
||||
for key in src:
|
||||
|
||||
Reference in New Issue
Block a user