Skip to content

Commit adad721

Browse files
committed
Replace False with None as default value for the callbacks in setup()
1 parent 92b06df commit adad721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp32/modules/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
loopCallbacks = {} #Dict containing: {<FUNCTION>:<Wifi required on next run>}
1313
drawCallbacks = [] #List containing draw functions
1414

15-
def setup(pmCb=False, drawCb=False):
15+
def setup(pmCb=None, drawCb=None):
1616
global services
1717
global loopCallbacks
1818
global drawCallbacks

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy