mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Removed avalon.io import
This commit is contained in:
parent
ea5560c3f2
commit
2e619be3d7
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ from datetime import datetime
|
|||
|
||||
from .providers import lib
|
||||
import os
|
||||
from avalon import io
|
||||
from bson.objectid import ObjectId
|
||||
|
||||
from avalon.api import AvalonMongoDB
|
||||
from .utils import time_function
|
||||
|
|
@ -541,7 +541,7 @@ class SyncServer():
|
|||
"""
|
||||
# TODO - implement reset for ALL files or ALL sites
|
||||
query = {
|
||||
"_id": io.ObjectId(representation_id)
|
||||
"_id": ObjectId(representation_id)
|
||||
}
|
||||
self.connection.Session["AVALON_PROJECT"] = collection
|
||||
representation = list(self.connection.find(query))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue