Skip to content

Commit

Permalink
Fix incorrect command in notification message (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarons authored Jun 30, 2024
1 parent d058d11 commit be670dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def send(config, username, last_send=None, dry_run=False):
sent_on = None
message = f"""Two-step authentication for iCloud Drive, Photos (Docker) is required.
Please login to your server and authenticate. Please run -
`docker exec -it --user=icd icloud /bin/sh -c
"icloud --session-directory=/app/session_data --username={username}"`."""
`docker exec -it icloud /bin/sh -c
"icloud --session-directory=/config/session_data --username={username}"`."""
subject = f"icloud-docker: Two step authentication is required for {username}"
notify_telegram(
config=config, message=message, last_send=last_send, dry_run=dry_run
Expand Down

0 comments on commit be670dc

Please sign in to comment.