Skip to content

Commit 2709923

Browse files
authored
import console directly in otioview. (#505)
1 parent f13ecce commit 2709923

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

opentimelineview/console.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from PySide2 import QtWidgets, QtGui
3232

3333
import opentimelineio as otio
34+
import opentimelineio.console as otio_console
3435
import opentimelineview as otioViewWidget
3536
from opentimelineview import settings
3637

@@ -250,16 +251,16 @@ def show(self):
250251
def main():
251252
args = _parsed_args()
252253

253-
media_linker_name = otio.console.console_utils.media_linker_name(
254+
media_linker_name = otio_console.console_utils.media_linker_name(
254255
args.media_linker
255256
)
256257

257258
try:
258-
read_adapter_arg_map = otio.console.console_utils.arg_list_to_map(
259+
read_adapter_arg_map = otio_console.console_utils.arg_list_to_map(
259260
args.adapter_arg,
260261
"adapter"
261262
)
262-
media_linker_argument_map = otio.console.console_utils.arg_list_to_map(
263+
media_linker_argument_map = otio_console.console_utils.arg_list_to_map(
263264
args.media_linker_arg,
264265
"media linker"
265266
)

0 commit comments

Comments
 (0)