Disable textsynth until we find a new source. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 0b41f3fbbce8787c1d05c0461dbf0b96f5aa8d75 DIR parent a216b445324c2e13b1021a6f762bfd1690222c18 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Fri, 7 Apr 2023 15:37:11 +0200 Disable textsynth until we find a new source. Diffstat: M annna-message-common | 21 +++++++++++---------- M textsynth-complete | 2 ++ 2 files changed, 13 insertions(+), 10 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -509,17 +509,18 @@ case "${text}" in ;; esac + annna-say -s "${server}" -c "${channel}" "textsynth does not work, because Mr. Bellard made a company out of it. We need to find a different source." # Do in background, because read is very slow. - { - dresult="$(textsynth-complete -r "${word}")" - if [ -n "${dresult}" ]; - then - puri="$(printf "%s" "${dresult}" | /br/bin/bitreich-paste)" - else - puri="Textsynth did not answer." - fi - annna-say -s "${server}" -c "${channel}" "textsynth result: ${puri}" - } & + #{ + # dresult="$(textsynth-complete -r "${word}")" + # if [ -n "${dresult}" ]; + # then + # puri="$(printf "%s" "${dresult}" | /br/bin/bitreich-paste)" + # else + # puri="Textsynth did not answer." + # fi + # annna-say -s "${server}" -c "${channel}" "textsynth result: ${puri}" + #} & ;; "${ircuser}, weather at "*) DIR diff --git a/textsynth-complete b/textsynth-complete @@ -5,6 +5,8 @@ # by 20h # +# Does not work anymore. Mr. Bellard made a company out of it. + import os import sys import getopt