Skip to content

Commit

Permalink
Add some prints
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyzz committed Nov 30, 2023
1 parent 9a2b82e commit 8117f73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions send_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,11 @@ def move_files_to_kindle(self, device_driver: Any, device_book_path: Path) -> No
sidecar_folder = device_book_path.parent.joinpath(
f"{device_book_path.stem}.sdr"
)
print(f"{sidecar_folder=}")
if use_mtp:
for file_path in (self.ll_path, self.x_ray_path):
dest_path = sidecar_folder.joinpath(file_path.name)
print(f"{dest_path=}")
upload_file_to_kindle_mtp(device_driver, file_path, dest_path)
else:
sidecar_folder = device_mount_point.joinpath(sidecar_folder)
Expand Down

0 comments on commit 8117f73

Please sign in to comment.