mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Hound
This commit is contained in:
parent
511b2d1e24
commit
c3bf82ac1c
1 changed files with 5 additions and 8 deletions
13
pype/lib.py
13
pype/lib.py
|
|
@ -17,6 +17,11 @@ import six
|
|||
import avalon.api
|
||||
from .api import config
|
||||
|
||||
try:
|
||||
from urllib.parse import urlparse, parse_qs
|
||||
except ImportError:
|
||||
from urlparse import urlparse, parse_qs
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
@ -1388,14 +1393,6 @@ def ffprobe_streams(path_to_file):
|
|||
return json.loads(popen_output)["streams"]
|
||||
|
||||
|
||||
import os
|
||||
|
||||
try:
|
||||
from urllib.parse import urlparse, parse_qs
|
||||
except ImportError:
|
||||
from urlparse import urlparse, parse_qs
|
||||
|
||||
|
||||
def decompose_url(url):
|
||||
components = {
|
||||
"scheme": None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue