mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-18 17:15:13 +01:00
Comment callback
This commit is contained in:
parent
197818c4ac
commit
bfad335495
@ -168,6 +168,9 @@ class ServerInstance:
|
||||
|
||||
@staticmethod
|
||||
def callback(called_func):
|
||||
# Usage of @callback on method
|
||||
# definition to run a webhook check
|
||||
# on method completion
|
||||
def wrapper(*args, **kwargs):
|
||||
res = None
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user