TheCommsChannel / TC2-BBS-mesh

A BBS server for Meshtastic for posting bulletins, sending mail to users, and channel directory.
GNU General Public License v3.0
304 stars 55 forks source link

SyntaxErrors #84

Open patriciogonzalezvivo opened 3 months ago

patriciogonzalezvivo commented 3 months ago

Hi! when running I run into SyntaxErrors. The first one is:

File "server.py", line 4
SyntaxError: Non-ASCII character '\xc2' in file server.py on line 5, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

After adding # -*- coding: utf-8 -*-

#!/usr/bin/env python3
# -*- coding: utf-8 -*- 

"""
TC²-BBS Server for Meshtastic by TheCommsChannel (TC²)
...

I get:

  File "server.py", line 67
    logging.info(f"TC²-BBS is running on {system_config['interface_type']} interface...")
                                                                                        ^
SyntaxError: invalid syntax