mirror of
				https://github.com/solero/houdini.git
				synced 2025-10-31 20:52:02 +00:00 
			
		
		
		
	Fix bug that prevented multiple handler checks
This commit is contained in:
		| @@ -200,7 +200,7 @@ def cooldown(per=1.0, rate=1, bucket_type=BucketType.Default, callback=None): | ||||
|  | ||||
| def check(predicate): | ||||
|     def decorator(handler_function): | ||||
|         if not hasattr(handler_function, 'checks'): | ||||
|         if not hasattr(handler_function, '__checks'): | ||||
|             handler_function.__checks = [] | ||||
|  | ||||
|         if not type(predicate) == FunctionType: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ben
					Ben