From 2722e404963630a35b29fee21e5b55980061b62a Mon Sep 17 00:00:00 2001 From: sevichecc <91365763+Sevichecc@users.noreply.github.com> Date: Wed, 1 Feb 2023 15:20:20 +0800 Subject: [PATCH] Fix unexpect EOF --- README.md | 4 +++- backup-bot.py | 2 +- duplicacy.sh | 4 +--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6a78ecc..5eb465d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ - Use [duplicacy](https://duplicacy.com/) to upload to remote storage - `expect` to deal with user input - Keep a revision every 7 days for revisions older than 30 days -- Backup remindet bot +- Backup reminder bot + +Detail(in Chinese): [用 duplicacy 备份 Pleroma](https://seviche.cc/2023-01-22-backup/) diff --git a/backup-bot.py b/backup-bot.py index cacc4bf..1302e2b 100644 --- a/backup-bot.py +++ b/backup-bot.py @@ -25,4 +25,4 @@ mastodon = Mastodon( feature_set = 'pleroma' ) -mastodon.status_post('your_post_content') +mastodon.status_post('your_post_content') \ No newline at end of file diff --git a/duplicacy.sh b/duplicacy.sh index b978733..dd1676b 100644 --- a/duplicacy.sh +++ b/duplicacy.sh @@ -28,6 +28,4 @@ send "$PASSWORD\r" # expect "password" # send "$PASSWORD\r" -expect eof - -EOF \ No newline at end of file +expect eof \ No newline at end of file