Skip to content

Commit

Permalink
fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Jul 23, 2024
1 parent 541db16 commit 0e723ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libvirtnbdbackup/ssh/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ def __init__(
self.host = host
self.user = user
self.port = port
self.copy = Callable[[str, str], None]
self.copy = self.copyFrom
self.copy: Callable[[str, str], None] = self.copyFrom
if mode == Mode.UPLOAD:
self.copy = self.copyTo
self.connection = self.connect()
Expand Down

0 comments on commit 0e723ba

Please sign in to comment.