mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
moved imports to the top of the module
This commit is contained in:
parent
e09202d6a0
commit
296d07fdda
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import pyblish.api
|
||||
from avalon import api
|
||||
|
||||
|
||||
class CollectMindbenderTime(pyblish.api.ContextPlugin):
|
||||
|
|
@ -8,5 +9,4 @@ class CollectMindbenderTime(pyblish.api.ContextPlugin):
|
|||
order = pyblish.api.CollectorOrder
|
||||
|
||||
def process(self, context):
|
||||
from avalon import api
|
||||
context.data["time"] = api.time()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue