added a space
This commit is contained in:
parent
2c048b5f62
commit
9c62a27dbd
2
bot.py
2
bot.py
|
@ -46,7 +46,7 @@ while True:
|
||||||
antonym=obj['edges'][i]['end']['label']
|
antonym=obj['edges'][i]['end']['label']
|
||||||
if obj['edges'][i]['start']['language'] == 'en' and obj['edges'][i]['end']['language'] == 'en':
|
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:
|
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)
|
print("Tooted pokemon " + onym + " and " + antonym)
|
||||||
used_words.write(onym + '\n')
|
used_words.write(onym + '\n')
|
||||||
used_words.close()
|
used_words.close()
|
||||||
|
|
Loading…
Reference in New Issue