You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
activity.py: less debug
This commit is contained in:
@@ -75,7 +75,7 @@ class Activity:
|
||||
# Execute a function if the Activity is in the foreground
|
||||
def if_foreground(self, func, *args, **kwargs):
|
||||
if self._has_foreground:
|
||||
print(f"executing {func} with args {args} and kwargs {kwargs}")
|
||||
#print(f"executing {func} with args {args} and kwargs {kwargs}")
|
||||
result = func(*args, **kwargs)
|
||||
return result
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user