summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc/rfb/errors.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-09-18 04:37:43 +0300
committerMaxim Devaev <[email protected]>2024-09-18 04:37:43 +0300
commit7a53f1445619fc471c2823e7081de8b6039b938e (patch)
tree961dd0072cc976504fe4570743d801c79512e9a6 /kvmd/apps/vnc/rfb/errors.py
parent45270a09d7b5076bac96887a1e36d752882e3adf (diff)
refactoring
Diffstat (limited to 'kvmd/apps/vnc/rfb/errors.py')
-rw-r--r--kvmd/apps/vnc/rfb/errors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/vnc/rfb/errors.py b/kvmd/apps/vnc/rfb/errors.py
index 1cf68818..caa4d085 100644
--- a/kvmd/apps/vnc/rfb/errors.py
+++ b/kvmd/apps/vnc/rfb/errors.py
@@ -29,5 +29,5 @@ class RfbError(Exception):
class RfbConnectionError(RfbError):
- def __init__(self, msg: str, err: Exception) -> None:
- super().__init__(f"{msg}: {tools.efmt(err)}")
+ def __init__(self, msg: str, ex: Exception) -> None:
+ super().__init__(f"{msg}: {tools.efmt(ex)}")