From 09c4fc844ed07e9f92712b5b81ca505ead8077d8 Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 11 Jan 2020 02:46:55 -0500 Subject: [PATCH] Fix equality comparisons for strings --- src/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/run.py b/src/run.py index 7854a33..f465796 100644 --- a/src/run.py +++ b/src/run.py @@ -44,7 +44,7 @@ async def on_ready(): u.cogs[type(cog).__name__] = cog print(f'COG : {type(cog).__name__}') - if u.config['playing'] is not '': + if u.config['playing'] != '': await bot.change_presence(activity=d.Game(u.config['playing'])) print('\n> > > > > > > > >' @@ -83,7 +83,7 @@ async def on_ready(): u.cogs['Admin'].deleting = True bot.loop.create_task(u.cogs['Admin'].delete()) - if u.config['playing'] is not '': + if u.config['playing'] != '': await bot.change_presence(activity=d.Game(u.config['playing'])) await reconnect.add_reaction('\N{WHITE HEAVY CHECK MARK}')