Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3992 from pypeclub/feature/flame_use_lib_function…
Browse files Browse the repository at this point in the history
…s_from_lib
  • Loading branch information
jakubjezek001 authored Oct 17, 2022
2 parents c4c09ec + 890b772 commit 6429438
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion openpype/hosts/flame/api/workio.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Host API required Work Files tool"""

import os
from openpype.api import Logger
from openpype.lib import Logger
# from .. import (
# get_project_manager,
# get_current_project
Expand Down
10 changes: 5 additions & 5 deletions openpype/hosts/flame/hooks/pre_flame_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@
import tempfile
import contextlib
import socket
from pprint import pformat

from openpype.lib import (
PreLaunchHook,
get_openpype_username
get_openpype_username,
run_subprocess,
)
from openpype.lib.applications import (
ApplicationLaunchFailed
)
from openpype.hosts import flame as opflame
import openpype
from pprint import pformat


class FlamePrelaunch(PreLaunchHook):
Expand Down Expand Up @@ -127,7 +128,6 @@ def _fix_permissions(self, project_name, volume_name):
except OSError as exc:
self.log.warning("Not able to open files: {}".format(exc))


def _get_flame_fps(self, fps_num):
fps_table = {
float(23.976): "23.976 fps",
Expand Down Expand Up @@ -179,7 +179,7 @@ def _get_launch_arguments(self, script_data):
"env": self.launch_context.env
}

openpype.api.run_subprocess(args, **process_kwargs)
run_subprocess(args, **process_kwargs)

# process returned json file to pass launch args
return_json_data = open(tmp_json_path).read()
Expand Down

0 comments on commit 6429438

Please sign in to comment.