File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 99# "password" keys with your WiFi credentials. DO NOT share that file or commit it into Git or other
1010# source control.
1111# pylint: disable=no-name-in-module,wrong-import-order
12- from secrets import secrets
12+ try :
13+ from secrets import secrets
14+ except ImportError :
15+ print ("WiFi secrets are kept in secrets.py, please add them there!" )
16+ raise
1317
1418# If you are using a board with pre-defined ESP32 Pins:
1519esp32_cs = DigitalInOut (board .ESP_CS )
Original file line number Diff line number Diff line change 1010# "password" keys with your WiFi credentials. DO NOT share that file or commit it into Git or other
1111# source control.
1212# pylint: disable=no-name-in-module,wrong-import-order
13- from secrets import secrets
13+ try :
14+ from secrets import secrets
15+ except ImportError :
16+ print ("WiFi secrets are kept in secrets.py, please add them there!" )
17+ raise
1418
1519# If you are using a board with pre-defined ESP32 Pins:
1620esp32_cs = DigitalInOut (board .ESP_CS )
You can’t perform that action at this time.
0 commit comments