Skip to content

Commit

Permalink
Merge pull request #112 from bkirwi/fixup
Browse files Browse the repository at this point in the history
Minor fixups for #106
  • Loading branch information
Jayy001 authored Jan 8, 2025
2 parents a31e624 + 9c3cd43 commit 828c52d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion codexctl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def call_func(self, function: str, args: dict) -> None:
elif function in ("install", "status", "restore"):
remote = False

if "remarkable" not in self.device:
if "reMarkable" not in self.device:
if importlib.util.find_spec("paramiko") is None:
raise ImportError(
"Paramiko is required for SSH access. Please install it."
Expand Down
4 changes: 0 additions & 4 deletions codexctl/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,6 @@ def connect_to_device(
while True:
key_path = input("Enter path to SSH key: ")

if not os.path.isfile(key_path):
print("Invalid path given")

continue
try:
self.logger.debug(
f"Attempting to connect to {remote_address} with key file {key_path}"
Expand Down

0 comments on commit 828c52d

Please sign in to comment.