mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-03 20:48:12 +08:00
Fix not picking up result from falsy result (#107)
* Fix not picking up result from falsy result * add test and docs * typo
This commit is contained in:
@@ -46,6 +46,10 @@ def hello():
|
||||
return "hello"
|
||||
|
||||
|
||||
def return_falsy_value():
|
||||
return []
|
||||
|
||||
|
||||
def result(obj):
|
||||
print(f"RESULT HOOK {obj.name} : {obj.result()}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user