mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
fixed hound imports
This commit is contained in:
parent
e0e3ae1d19
commit
3ee344ecb5
2 changed files with 5 additions and 7 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import os
|
||||
import copy
|
||||
import tempfile
|
||||
|
||||
from openpype.hosts.tvpaint.worker import (
|
||||
SenderTVPaintCommands,
|
||||
|
|
@ -9,8 +8,6 @@ from openpype.hosts.tvpaint.worker import (
|
|||
)
|
||||
|
||||
import pyblish.api
|
||||
from avalon.tvpaint import lib
|
||||
from openpype.hosts.tvpaint.api.lib import composite_images
|
||||
from openpype.hosts.tvpaint.lib import (
|
||||
calculate_layers_extraction_data,
|
||||
get_frame_filename_template,
|
||||
|
|
|
|||
|
|
@ -2,10 +2,6 @@ import sys
|
|||
import json
|
||||
import copy
|
||||
import platform
|
||||
if sys.version_info[0] == 2:
|
||||
from urlparse import urlsplit, urlunsplit
|
||||
else:
|
||||
from urllib.parse import urlsplit, urlunsplit
|
||||
|
||||
import click
|
||||
from openpype.modules import OpenPypeModule
|
||||
|
|
@ -34,6 +30,11 @@ class JobQueueModule(OpenPypeModule):
|
|||
|
||||
@staticmethod
|
||||
def url_conversion(url, ws=False):
|
||||
if sys.version_info[0] == 2:
|
||||
from urlparse import urlsplit, urlunsplit
|
||||
else:
|
||||
from urllib.parse import urlsplit, urlunsplit
|
||||
|
||||
if not url:
|
||||
return url
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue