Skip to content

Commit ad3cfce

Browse files
fix startup error
1 parent 6c9216f commit ad3cfce

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[flake8]
22
exclude = .venv build
33
max-line-length = 120
4+
per-file-ignores = */main.py: F401

helper/SystemHelper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class SystemHelper:
2020
strip = Strip()
21-
is_party = "1" # Read button.py
21+
is_party = "0"
2222

2323
def __init__(self):
2424
self.init_party_mode()

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from helper.Strip import Strip
2121
from helper.SystemHelper import SystemHelper
2222
from helper.WifiHelper import WifiHelper
23+
from scripts import button
2324

2425
wifi_helper = WifiHelper()
2526
radio_helper = RadioHelper()

0 commit comments

Comments
 (0)