diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-07-19 11:45:03 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-07-19 11:45:03 +0500 |
| commit | 24389495545e9c85f88b432a033495facb3f1614 (patch) | |
| tree | 0e65365368f1bd2ace8fa3bddac6fc2c826c91a8 /units/sn_get.zsh | |
| parent | 76d8503babc2c92721cc67de1189be5dd0e5d8c0 (diff) | |
bot: Add option to allow SauceNAO with unknown Telegram Bot API instance
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'units/sn_get.zsh')
| -rw-r--r-- | units/sn_get.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/sn_get.zsh b/units/sn_get.zsh index f901141..6ffb4c2 100644 --- a/units/sn_get.zsh +++ b/units/sn_get.zsh @@ -76,7 +76,7 @@ fi file_path="$(jq -r '.result.file_path' "${output_file}")" -if [[ "${api_address}" == "${default_address}" ]] +if [[ "${api_address}" != "${local_address}" ]] then output_file="${cache}/${update_id}_file.jpg" dump+=(${output_file##*/}) |
