HowTo: Change DEBUG to False

Hi,I am new to RPi and have just setup a kegberry, I have tried to change the “DEBUG = True” to “DEBUG = False”. However when I try to save the changes it gives me an error message of “Can’t open file to write”, please help.

Try this:

sudo su - kegberry
vi ~/.kegbot/

You can use nano instead of vi if you prefer.

If the sudo command fails, use sudo su - kegbot.

Excellent thanks for the help, I have changed the DEBUG to false.

I did this using nano but nothing happens. I still can not modify

as soon as I set debugging to false i can no longer connect to my Raspberry Pi over my network. Comes up with 502 error. Any thoughts? Im new so let me know what I should include to get better advice. Thanks!