#Problem with json

1 messages · Page 1 of 1 (latest)

neat hollow
#

Can you show ur tree file ?

#

Like a screen of the folder with the file on the right

#

Try to do

#

with open(cogs/verification.json)

#

To check if the path is correct

#

with open('../cogs.verification.json')

#

So little explanation

#

The code was not retriving the file

#

Because the file was in another direction you need to put the full path

#

So here we go on the cog and then the file

#

Nope

#

It was because the bot was not able to find the file

#

So it was considering an empty file