This commit is contained in:
Maximilian Hils 2017-02-21 15:38:20 +01:00 committed by GitHub
parent 5fc4fc28b6
commit 29c4a43e50

View File

@ -29,6 +29,7 @@ def concurrent(fn):
"script.concurrent (%s)" % fn.__name__,
target=run
).start()
# Support @concurrent for class-based addons
if "." in fn.__qualname__:
return staticmethod(_concurrent)
else: