Strip whitespace from token

This commit is contained in:
Mark Hoekveen
2018-07-01 18:56:18 +02:00
parent c2b7cf7338
commit dcee7ee98d
+1 -1
View File
@@ -23,7 +23,7 @@ bot.add_cog(Cryptocoin.Cryptocoin(bot))
bot.add_cog(Chatbot.Chatbot(bot))
tokenfile = open("stroopwafel.token","r")
token = tokenfile.readline()
token = tokenfile.readline().strip()
@bot.event
@asyncio.coroutine
def on_ready():