Open chrisb2 opened 7 years ago
I had the same problem with the latest release version of picoweb under MicroPython 1.10 on an ESP32. So the problem is still there...
The work-around (deleting the reference to __name__
) worked fine
though it took me a while to find this issue report and the solution.
Environment: NodeMcu clone ESP8266 with picoweb built into custom firmware
Results in:
Work-around: Update:
app = picoweb.WebApp(__name__)
To:app = picoweb.WebApp(None)