Draft: fixed bug in delay system when passing a function with False as argument

This commit is contained in:
Yorik van Havre
2018-10-24 14:22:11 -03:00
parent 14c70ce8cd
commit fe067060d4

View File

@@ -131,7 +131,7 @@ class todo:
for f, arg in todo.itinerary:
try:
# print("debug: executing",f)
if arg:
if arg or (arg == False):
f(arg)
else:
f()