fixing dragon_env variable
This commit is contained in:
parent
b779a6e063
commit
aa303796b9
@ -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