mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
move functions from openpype.lib.config to openpype.lib.dateutils
This commit is contained in:
parent
297aaa6ee1
commit
31a3911d4e
6 changed files with 134 additions and 79 deletions
|
|
@ -5,7 +5,7 @@ Provides:
|
|||
"""
|
||||
|
||||
import pyblish.api
|
||||
from openpype.api import config
|
||||
from openpype.lib.dateutils import get_datetime_data
|
||||
|
||||
|
||||
class CollectDateTimeData(pyblish.api.ContextPlugin):
|
||||
|
|
@ -15,4 +15,4 @@ class CollectDateTimeData(pyblish.api.ContextPlugin):
|
|||
def process(self, context):
|
||||
key = "datetimeData"
|
||||
if key not in context.data:
|
||||
context.data[key] = config.get_datetime_data()
|
||||
context.data[key] = get_datetime_data()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue