added a space

This commit is contained in:
sose 2020-09-13 18:54:07 +00:00
parent 2c048b5f62
commit 9c62a27dbd
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -46,7 +46,7 @@ while True:
antonym=obj['edges'][i]['end']['label']
if obj['edges'][i]['start']['language'] == 'en' and obj['edges'][i]['end']['language'] == 'en':
if onym+'\n' not in used_words_list and antonym+'\n' not in used_words_list:
mastodon.toot("pokemon" + onym + " and " + antonym)
mastodon.toot("pokemon " + onym + " and " + antonym)
print("Tooted pokemon " + onym + " and " + antonym)
used_words.write(onym + '\n')
used_words.close()