more cleanups
This commit is contained in:
parent
ab147a880f
commit
d95fa1e048
3 changed files with 3 additions and 3 deletions
|
@ -215,7 +215,7 @@ def main():
|
|||
with open("initial.txt") as f:
|
||||
text = f.read()
|
||||
markov = markovify.NewlineText(text.lower())
|
||||
print(markov.make_sentence())
|
||||
logger.info("Sentence of the day: " + markov.make_sentence())
|
||||
|
||||
updater = Updater("***REMOVED***")
|
||||
|
||||
|
|
2
robot.sh
2
robot.sh
|
@ -2,5 +2,5 @@
|
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd ${DIR}
|
||||
./update.sh &
|
||||
source ./venv/bin/activate
|
||||
source ./.venv/bin/activate
|
||||
python3 delojza.py 2>&1 |tee -a delojza.log
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
while :;do
|
||||
NUM=$( grep 'INFO - Downloading' delojza.log|wc -l)
|
||||
echo $NUM
|
||||
curl -s 'kunsaxan.sdbs.cz/counter.php?key=delojza7953713b19ef2ea055156c8dc175bf80&count='$NUM
|
||||
curl -s 'https://kunsaxan.sdbs.cz/counter.php?key=delojza7953713b19ef2ea055156c8dc175bf80&count='$NUM
|
||||
sleep 300;
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue