fixing dragon_env variable
This commit is contained in:
parent
6d5837b382
commit
4b4d412727
@ -29,8 +29,8 @@ import weather
|
|||||||
|
|
||||||
# Client object
|
# Client object
|
||||||
client = discord.Client()
|
client = discord.Client()
|
||||||
debug = dragon_environment == 'test'
|
|
||||||
dragon_environment = os.getenv('DRAGON_ENV')
|
dragon_environment = os.getenv('DRAGON_ENV')
|
||||||
|
debug = dragon_environment == 'test'
|
||||||
|
|
||||||
@client.event
|
@client.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user